commit | 8992e53c23cb088efbdafbf3e2ba77e7d8778d71 | [log] [tgz] |
---|---|---|
author | Stefan Reinauer <reinauer@chromium.org> | Thu May 02 16:16:41 2013 -0700 |
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | Mon Nov 25 23:31:52 2013 +0100 |
tree | 1eba559ee986c4994b63e75d9647fc733ae833f6 | |
parent | 441a4baf87ada2608a109a203a5d8040f6dc2b0d [diff] [blame] |
libpayload: Add USB support for non-PCI controllers Restructure USB stack to not depend on PCI, and make PCI stub available on x86, but provide fixed BARs for ARM (Exynos 5) Change-Id: Iee7c8b134c22b661a9a515e24943470c9dbadd1f Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/49970 Reviewed-on: http://review.coreboot.org/4175 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
diff --git a/payloads/libpayload/drivers/usb/ohci.h b/payloads/libpayload/drivers/usb/ohci.h index f501167..9c31d9c 100644 --- a/payloads/libpayload/drivers/usb/ohci.h +++ b/payloads/libpayload/drivers/usb/ohci.h
@@ -33,8 +33,9 @@ #include <pci.h> #include <usb/usb.h> - hci_t *ohci_init (pcidev_t addr); +hci_t *ohci_pci_init (pcidev_t addr); +hci_t *ohci_init (void *bar); - void ohci_rh_init (usbdev_t *dev); +void ohci_rh_init (usbdev_t *dev); #endif