From cfd39cdf9422d3d25e9b3c058865f4c1f66f34da Mon Sep 17 00:00:00 2001 From: Vivek Mahajan Date: Thu, 21 May 2009 17:32:15 +0530 Subject: [PATCH] mpc8xxx: USB: Removed reenablement of its interface To prepare for the 85xx USB support, which requires interface enablement only once in (specified) order, no different than instructions for enabling the interface under 83xx. It is unknown why the original author enabled the interface twice (checked for references in errata, etc). Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer --- drivers/usb/host/ehci-fsl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 86ee1d5717..cff6024537 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -81,10 +81,6 @@ int ehci_hcd_init(void) out_be32((void *)(addr + FSL_SOC_USB_AGECNTTHRSH), 0x00000040); out_be32((void *)(addr + FSL_SOC_USB_SICTRL), 0x00000001); - /* Enable interface. */ - temp = in_be32((void *)(addr + FSL_SOC_USB_CTRL)); - out_be32((void *)(addr + FSL_SOC_USB_CTRL), temp | USB_EN); - temp = in_le32((void *)(addr + FSL_SOC_USB_USBMODE)); return 0;