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>
master
Stefano Babic 15 years ago
parent ff9f475d5d
commit a2f9bff998
  1. 2
      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;
}

Loading…
Cancel
Save