coreboot-kgpe-d16/payloads/libpayload/drivers/usb
Nico Huber edcde0ba7a 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>
2023-06-12 17:00:28 +00:00
..
Kconfig
TODO
dwc2.c
dwc2.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
dwc2_private.h
dwc2_rh.c
ehci.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ehci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ehci_private.h
ehci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
generic_hub.c
generic_hub.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
quirks.c
uhci.c libpayload/uhci: Return expected length for control/bulk transfers 2023-06-04 18:49:35 +00:00
uhci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
uhci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
uhci_rh.c libpayload/uhci: Re-write UHCI RH driver w/ generic_hub API 2023-06-12 17:00:28 +00:00
usb.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usb_dev.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbhid.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbhub.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbinit.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbmsc.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci.c libpayload/drivers/usb/xhci.c: Check for NULL in xhci_init 2023-06-06 21:04:25 +00:00
xhci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_commands.c
xhci_debug.c
xhci_devconf.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_events.c
xhci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00