coreboot-kgpe-d16/payloads/libpayload/drivers
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
..
i8042 payloads: Fix typos 2020-02-17 16:01:50 +00:00
serial libpayload: Add uart/serial driver support for trogdor 2020-03-09 22:58:56 +00:00
storage libpayload: ahci: Prevent memory leaks when failing on init 2019-05-15 17:54:02 +00:00
timer Remove MIPS architecture 2019-11-20 10:10:48 +00:00
udc treewide: capitalize 'USB' 2020-02-26 17:06:40 +00:00
usb lp/drivers/usb: Work around QEMU XHCI register issue 2020-04-14 09:47:22 +00:00
video libpayload/corebootfb: Replace obsolete macros FI and CHARS 2020-03-10 09:00:35 +00:00
Makefile.inc libpayload: Add uart/serial driver support for trogdor 2020-03-09 22:58:56 +00:00
cbmem_console.c libpayload: Implement reading from CBMEM console 2019-12-16 09:47:38 +00:00
hid.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
mouse_cursor.c payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
nvram.c libpayload/drivers/nvram: Fix coding style 2020-03-23 08:35:56 +00:00
options.c treewide: Capitalize 'CMOS' 2020-02-24 14:10:00 +00:00
pci.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
speaker.c