[U-Boot] [PATCH 5/9] i.MX25: This architecture has almost the same USB-controller as i.MX31

Timo Ketola
2012-04-18T07:57:28Z

Signed-off-by: Timo Ketola <timo@exertus.fi>
---
drivers/usb/host/ehci-mxc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
index 61dbccd..65f40a4 100644
--- a/drivers/usb/host/ehci-mxc.c
+++ b/drivers/usb/host/ehci-mxc.c
@@ -125,7 +125,7 @@ int ehci_hcd_init(void)
hcor = (struct ehci_hcor *)((uint32_t) hccr +
HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
setbits_le32(&ehci->usbmode, CM_HOST);
-#ifdef CONFIG_MX31
+#if defined(CONFIG_MX31) || defined(CONFIG_MX25)
setbits_le32(&ehci->control, USB_EN);

__raw_writel(CONFIG_MXC_USB_PORTSC, &ehci->portsc);
--
1.7.5.4