diff options
Diffstat (limited to 'payloads/libpayload/drivers/usb/usbinit.c')
-rw-r--r-- | payloads/libpayload/drivers/usb/usbinit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/usb/usbinit.c b/payloads/libpayload/drivers/usb/usbinit.c index 4225c3f153..7a5828def7 100644 --- a/payloads/libpayload/drivers/usb/usbinit.c +++ b/payloads/libpayload/drivers/usb/usbinit.c @@ -34,6 +34,7 @@ #include "ohci.h" #include "ehci.h" #include "xhci.h" +#include "dwc2.h" #include <usb/usbdisk.h> #ifdef CONFIG_LP_USB_PCI @@ -182,6 +183,10 @@ hci_t *usb_add_mmio_hc(hc_type type, void *bar) case EHCI: return ehci_init((unsigned long)bar); #endif +#ifdef CONFIG_LP_USB_DWC2 + case DWC2: + return dwc2_init(bar); +#endif #ifdef CONFIG_LP_USB_XHCI case XHCI: return xhci_init((unsigned long)bar); |