X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fusb%2FKconfig;h=3b53bf2c58a1e9f0197d4f8db38e467393351e46;hb=d597b26d5132643118333b2372757fb402ba0579;hp=d456beb43fc9d3e7f422af33febfef535f860cce;hpb=9649c5343fb1e105109f8aac499134dd4bd723ca;p=oweals%2Fu-boot.git diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index d456beb43f..3b53bf2c58 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -49,9 +49,23 @@ config DM_USB config SPL_DM_USB bool "Enable driver model for USB in SPL" - depends on DM_USB + depends on SPL_DM && DM_USB default y +config DM_USB_GADGET + bool "Enable driver model for USB Gadget" + depends on DM_USB + help + Enable driver model for USB Gadget (Peripheral + mode) + +config SPL_DM_USB_GADGET + bool "Enable driver model for USB Gadget in sPL" + depends on SPL_DM_USB + help + Enable driver model for USB Gadget in SPL + (Peripheral mode) + source "drivers/usb/host/Kconfig" source "drivers/usb/dwc3/Kconfig"