From: Stefano Babic Date: Mon, 18 Oct 2010 08:23:05 +0000 (+0200) Subject: MX31: add delay between USB port setup and reset X-Git-Tag: v2010.12-rc1~72^2~27^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2f9bff99878225dec6a3d4995ab1b993ab649e2;p=u-boot 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 --- diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index af8ee907e8..8d7b3804fa 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; }