coreboot/payloads
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
..
bayou UPSTREAM: bayou: delete pbuilder utility 2016-08-04 23:36:49 -07:00
coreinfo UPSTREAM: build system: don't run xcompile or git for %clean/%config targets 2017-01-26 18:43:51 -08:00
external UPSTREAM: payloads/seabios: Add support for Hudson UART 2017-03-06 04:44:12 -08:00
libpayload UPSTREAM: libpayload: usbhub: Force enumeration of all connected ports on init 2017-03-16 11:25:32 -07:00
nvramcui UPSTREAM: nvramcui: Add USB support 2017-03-14 07:25:23 -07:00
Kconfig UPSTREAM: payloads: add Kconfig option for bayou 2016-08-14 15:11:13 -07:00
Makefile.inc UPSTREAM: tint: Fix tint and add Kconfig option 2016-06-28 17:17:08 -07:00