diff options
author | Nico Huber <nico.huber@secunet.com> | 2023-05-19 20:19:56 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-06-12 17:00:28 +0000 |
commit | edcde0ba7a152c07f869d02de4a3c33720e5da9b (patch) | |
tree | c918593d6b4fea0705b0eabc1bcdbe2a292e1fbc /payloads/libpayload/configs | |
parent | 4c0dc4ee918c3046719af868999785a381f06cc5 (diff) |
libpayload/uhci: Re-write UHCI RH driver w/ generic_hub API
This is a complete rewrite of the UHCI root-hub driver, based on
the xHCI one. We are doing things by the book as far as possible.
One special case is uhci_rh_reset_port() which does the reset se-
quencing that usually the hardware would do.
This abandons some quirks of the old driver:
* Ports are not disabled/re-enabled for every attachment anymore.
* We solely rely on the Connect Status Change bit to track changes.
* Further status changes are now deferred to the next polling round.
The latter fixes endless loops in combination with commit 7faff543da
(libpayload: usb: Detach unused USB devices).
Change-Id: I5211728775eb94dfc23fa82ebf00fe5c99039709
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75504
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'payloads/libpayload/configs')
0 files changed, 0 insertions, 0 deletions