coreboot-kgpe-d16/payloads/libpayload/drivers
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
..
i8042 libpayload: i8042: Enable keyboard translation by default on exit 2021-05-03 15:55:52 +00:00
serial libpayload: Fix compiler warnings 2022-11-21 21:08:30 +00:00
storage libpayload/nvme: Fix controller disablement in (de)init sequence 2022-05-11 12:19:03 +00:00
timer payloads/libpayload: add MTK_TIMER_V2 config 2021-08-09 01:53:20 +00:00
udc libpayload: Fix compiler warnings 2022-11-21 21:08:30 +00:00
usb libpayload/uhci: Re-write UHCI RH driver w/ generic_hub API 2023-06-12 17:00:28 +00:00
video commonlib/bsd/helpers: Remove redundancy with libpayload defines 2022-03-30 21:21:47 +00:00
Makefile.inc libpayload/pci: Add pci_map_bus function for Qualcomm platform 2022-08-01 18:04:54 +00:00
cbmem_console.c libpayload: cbmem_console: Drop loglevel markers from snapshot 2022-03-04 16:04:10 +00:00
hid.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mouse_cursor.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvram.c payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
options.c libpayload: use PRIu64 type to print u64 2020-09-30 10:16:44 +00:00
pci_io_ops.c libpayload/pci: Add support for bus mapping 2022-05-20 02:51:33 +00:00
pci_map_bus_ops.c libpayload/pci: Add support for bus mapping 2022-05-20 02:51:33 +00:00
pci_ops.c libpayload/pci: Add support for bus mapping 2022-05-20 02:51:33 +00:00
pci_qcom.c libpayload/pci: Add pci_map_bus function for Qualcomm platform 2022-08-01 18:04:54 +00:00
pcie_mediatek.c libpayload/pci: Add pci_map_bus function for MediaTek platform 2022-05-20 02:53:35 +00:00
speaker.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00