coreboot-kgpe-d16/payloads/libpayload/drivers
Duncan Laurie 7724f1142e lp/drivers/usb: Add quirk for QEMU XHCI root hub
The QEMU XHCI driver does not implement the Port Change Detect bit
in the USBSTS register.  As a result no devices are attached without
looking at each port individually.

Detect this as a quirk based on the QEMU XHCI controller PCI ID,
and apply it to the root hub quirk list so it can get used by the
generic hub driver to skip this check.

With this change an attached USB mass storage device is detected and
able to boot when supplied to qemu:

  -drive if=none,id=usbmsc,format=raw,file=/tmp/disk.img
  -device qemu-xhci,id-xhci
  -device usb-storage,bus=xhci.0,drive=usbmsc

Change-Id: I6689cb1dbb24c93d45f5c5ef040b713925d07588
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39839
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-01 06:11:42 +00:00
..
i8042 payloads: Fix typos 2020-02-17 16:01:50 +00:00
serial libpayload: Make 8250 UART driver relocation safe 2020-04-20 10:09:59 +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: Add quirk for QEMU XHCI root hub 2020-05-01 06:11:42 +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
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
speaker.c