aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-30 12:45:43 -0500
committerTom Rini <trini@konsulko.com>2024-01-30 12:45:43 -0500
commit65b4b0c051e61f0c155d8344564fa2bfb308b305 (patch)
tree1a1c3f862c3c066eb5b75cd79462748cb4ba7ae5
parent28760ce8640ff6266bd1c1c568a4a231576f3919 (diff)
downloadu-boot-TEST/enforce-DM_USB_GADGET.zip
u-boot-TEST/enforce-DM_USB_GADGET.tar.gz
u-boot-TEST/enforce-DM_USB_GADGET.tar.bz2
TEST: Enforce DM_USB_GADGETTEST/enforce-DM_USB_GADGET
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/usb/Kconfig3
-rw-r--r--drivers/usb/gadget/Kconfig1
-rw-r--r--drivers/usb/musb-new/Kconfig2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index a972d87..6dadd21 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -54,8 +54,7 @@ config SPL_DM_USB
default y
config DM_USB_GADGET
- bool "Enable driver model for USB Gadget"
- depends on DM_USB
+ bool
help
Enable driver model for USB Gadget (Peripheral
mode)
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index c72a804..62aaa2e 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -17,6 +17,7 @@ menuconfig USB_GADGET
bool "USB Gadget Support"
depends on DM
select DM_USB
+ select DM_USB_GADGET
imply CMD_BIND
help
USB is a master/slave protocol, organized with one master
diff --git a/drivers/usb/musb-new/Kconfig b/drivers/usb/musb-new/Kconfig
index c52afd4..9071b24 100644
--- a/drivers/usb/musb-new/Kconfig
+++ b/drivers/usb/musb-new/Kconfig
@@ -77,7 +77,7 @@ config USB_MUSB_SUNXI
config USB_MUSB_UX500
bool "Enable ST-Ericsson Ux500 USB controller"
- depends on DM_USB && DM_USB_GADGET && ARCH_U8500
+ depends on ARCH_U8500
default y
help
Say y to enable support for the MUSB OTG USB controller used in