diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2013-12-21 11:41:22 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-01-08 13:24:39 +0100 |
commit | fdb348a1d12965b8f6566b217466d50b8c015020 (patch) | |
tree | 37bae05efc580f563c3408726bbfc9cc0236d48e /payloads/libpayload/drivers/usb/xhci.h | |
parent | 4dba06a827af7962c9441a5f6a08f8f9b95224e0 (diff) |
libpayload: reintroduce optional PCI in XHCI driver
being a good citizen on the box, libpayload tries to return to EHCI
mode on shutdown, so a non-XHCI capable USB driver after it (eg. in
the OS) finds something to work with.
Change-Id: Id227d646e08a258b841c644263112f0815dd486c
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/4547
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers/usb/xhci.h')
-rw-r--r-- | payloads/libpayload/drivers/usb/xhci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/xhci.h b/payloads/libpayload/drivers/usb/xhci.h index b76c9829b3..ddc9297b58 100644 --- a/payloads/libpayload/drivers/usb/xhci.h +++ b/payloads/libpayload/drivers/usb/xhci.h @@ -34,7 +34,7 @@ #include <usb/usb.h> hci_t *xhci_pci_init (pcidev_t addr); -hci_t *xhci_init (void *bar); +hci_t *xhci_init (const void *bar); void xhci_rh_init (usbdev_t *dev); |