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

login
register
mail settings
Submitter Timo Ketola
Date April 13, 2012, 11:20 a.m.
Message ID <1334316061-26019-6-git-send-email-timo@exertus.fi>
Download mbox | patch
Permalink /patch/152284/
State Changes Requested
Delegated to: Stefano Babic
Headers show

Comments

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

Patch

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);