coreboot/payloads/libpayload/drivers/usb
Patrick Georgi 10bbfda839 libpayload/usb: wait a millisecond to work around device bugs
Some USB sticks seem to send a NAK at a place where they mustn't
by spec, leading to a controller side error condition.

To avoid it, wait a millisecond which is enough to get past the
NAK condition. That delay only happens on device discovery so it
won't affect boot time by more than 1ms per device.

BUG=chromium:414959
BRANCH=none
TEST=depthcharge recognizes a Lexar 16GB USB stick after applying
this change.

Change-Id: I6dd5ca34e9f3767003ccb0ca9daaf16116f4a2df
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/228791
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
2014-11-13 03:14:41 +00:00
..
dwc2.c libpayload:support dwc2 usb driver 2014-09-04 15:47:17 +00:00
dwc2.h libpayload:support dwc2 usb driver 2014-09-04 15:47:17 +00:00
dwc2_private.h libpayload:support dwc2 usb driver 2014-09-04 15:47:17 +00:00
dwc2_rh.c libpayload:support dwc2 usb driver 2014-09-04 15:47:17 +00:00
ehci.c libpayload: EHCI: Support root-hub TT feature 2014-10-02 18:24:26 +00:00
ehci.h
ehci_private.h libpayload: EHCI: Support root-hub TT feature 2014-10-02 18:24:26 +00:00
ehci_rh.c libpayload: EHCI: Support root-hub TT feature 2014-10-02 18:24:26 +00:00
generic_hub.c
generic_hub.h
ohci.c
ohci.h
ohci_private.h
ohci_rh.c
quirks.c
TODO
uhci.c
uhci.h
uhci_private.h
uhci_rh.c
usb.c libpayload/usb: wait a millisecond to work around device bugs 2014-11-13 03:14:41 +00:00
usb_dev.c
usbhid.c
usbhub.c
usbinit.c libpayload:support dwc2 usb driver 2014-09-04 15:47:17 +00:00
usbmsc.c libpayload: usbmsc: Implement limited LUN support 2014-05-06 00:08:25 +00:00
xhci.c libpayload: usb: xhci: set ENT flag in last Normal TRB 2014-10-09 16:42:18 +00:00
xhci.h
xhci_commands.c
xhci_debug.c
xhci_devconf.c
xhci_events.c
xhci_private.h libpayload: usb: xhci: set ENT flag in last Normal TRB 2014-10-09 16:42:18 +00:00
xhci_rh.c