coreboot/payloads/libpayload/drivers
Julius Werner f911e51efb UPSTREAM: libpayload: usbhub: Force enumeration of all connected ports on init
We have found a non-compliant USB hub (RealTek RTS 5413) that does not
set a port's Connect Status Change bit on its USB 3.0 half if the port
had already been connected while the hub was being reset. To work around
this bug, this patch adds code to initially request the status of every
port after a hub was enumerated, clear the Connect Status Change bit if
set, and then enumerate the port iff it is currently connected,
regardless of whether the change bit was set. A similar behavior can
also be found in the Linux kernel.

BRANCH=oak
BUG=b:35929438
TEST=Booted Elm with this change, my USB 3.0 sticks enumerate now even
if they had been plugged in since boot.

Change-Id: If438b4acac2c509c7f22d9cc2470a014560bb00e
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 5fae829410
Original-Change-Id: I8a28252eb94f005f04866d06e4fc61ea265cee89
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/18729
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/455825
2017-03-16 11:25:32 -07:00
..
serial libpayload: ipq40xx: Introduce timer and uart driver 2016-05-09 08:53:24 +02:00
storage UPSTREAM: libpayload: Add Cougar Point PCH's AHCI to whitelist 2016-12-08 22:46:50 -08:00
timer various cleanups from upstream 2017-02-06 05:03:19 -08:00
udc UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
usb UPSTREAM: libpayload: usbhub: Force enumeration of all connected ports on init 2017-03-16 11:25:32 -07:00
video UPSTREAM: libpayload/drivers/video: Improve check in if condition 2016-12-16 04:51:00 -08:00
cbmem_console.c libpayload: console: Allow output drivers to print whole strings at once 2014-12-22 21:44:37 +01:00
hid.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
keyboard.c 8042 keyboard: power button processing 2017-01-18 16:06:42 -08:00
Makefile.inc UPSTREAM: libpayload: mvmap2315: Introduce timer driver 2016-10-11 14:32:38 -07:00
nvram.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
options.c libpayload/options: Fix out of array read. 2014-01-19 11:51:23 +01:00
pci.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
speaker.c Fix libpayload speaker driver 2011-10-27 10:49:41 +02:00