浏览代码

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 <vivek.mahajan@freescale.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Vivek Mahajan 16 年之前
父节点
当前提交
cfd39cdf94
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      drivers/usb/host/ehci-fsl.c

+ 0 - 4
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;