diff options
author | Stefano Babic <sbabic@denx.de> | 2010-10-18 10:23:05 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2010-10-18 15:21:36 +0200 |
commit | a2f9bff99878225dec6a3d4995ab1b993ab649e2 (patch) | |
tree | 39b8ac1288cd046ab8f493d9bded7235fa2aa547 /drivers/usb/host/ehci-mxc.c | |
parent | ff9f475d5d46da7e4acf523a61aef65638765670 (diff) | |
download | u-boot-imx-a2f9bff99878225dec6a3d4995ab1b993ab649e2.zip u-boot-imx-a2f9bff99878225dec6a3d4995ab1b993ab649e2.tar.gz u-boot-imx-a2f9bff99878225dec6a3d4995ab1b993ab649e2.tar.bz2 |
MX31: add delay between USB port setup and reset
Sometimes a usb tree is not popolated after a system reset.
It seems a delay is required after setting the USB ports
for the MX.31 before resetting the ehci controller.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/usb/host/ehci-mxc.c')
-rw-r--r-- | drivers/usb/host/ehci-mxc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index af8ee90..8d7b380 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -117,6 +117,8 @@ int ehci_hcd_init(void) mxc_set_usbcontrol(CONFIG_MXC_USB_PORT, CONFIG_MXC_USB_FLAGS); + udelay(10000); + return 0; } |