coreboot-kgpe-d16/payloads/libpayload/drivers/usb
Duncan Laurie 287cf6c7d1 lp/drivers/usb: Work around QEMU XHCI register issue
The QEMU XHCI controller does not support byte/word reads from the
capability register and it expects dword reads only.

In order to make this work move the access of the capability
register fields to use macros instead of a packed struct bitfield.

This issue was filed upstream:
https://bugs.launchpad.net/qemu/+bug/1693050

The original fix attempt in 2012 was not effective:
6ee021d410

With this change the controller is detected properly by the libpayload
USB drivers.

Change-Id: I048ed14921a4c9c0620c10b315b42476b6e5c512
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39838
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-04-14 09:47:22 +00:00
..
Kconfig
TODO
dwc2.c payloads: Fix typos 2020-02-17 16:01:50 +00:00
dwc2.h
dwc2_private.h
dwc2_rh.c
ehci.c treewide: capitalize 'USB' 2020-02-26 17:06:40 +00:00
ehci.h
ehci_private.h
ehci_rh.c
generic_hub.c
generic_hub.h
ohci.c payloads: Fix typos 2020-02-17 16:01:50 +00:00
ohci.h
ohci_private.h
ohci_rh.c
quirks.c
uhci.c
uhci.h
uhci_private.h
uhci_rh.c
usb.c treewide: capitalize 'USB' 2020-02-26 17:06:40 +00:00
usb_dev.c
usbhid.c
usbhub.c payloads: Fix typos 2020-02-17 16:01:50 +00:00
usbinit.c
usbmsc.c treewide: capitalize 'USB' 2020-02-26 17:06:40 +00:00
xhci.c lp/drivers/usb: Work around QEMU XHCI register issue 2020-04-14 09:47:22 +00:00
xhci.h
xhci_commands.c
xhci_debug.c
xhci_devconf.c libpayload/xhci: Fix MPS handling in set_address 2020-02-05 09:56:26 +00:00
xhci_events.c
xhci_private.h lp/drivers/usb: Work around QEMU XHCI register issue 2020-04-14 09:47:22 +00:00
xhci_rh.c lp/drivers/usb: Work around QEMU XHCI register issue 2020-04-14 09:47:22 +00:00