summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-11-29 16:14:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-02 11:02:21 +0100
commit091e4c3b1db256581945eabea83a4dab61eb07f1 (patch)
tree417625ed11676b1e698263c619f93ebbc4830d0e /drivers
parent89951c87ceab0f8ef3d2db70e83b12be63ff9e28 (diff)
downloadbarebox-091e4c3b1db256581945eabea83a4dab61eb07f1.tar.gz
barebox-091e4c3b1db256581945eabea83a4dab61eb07f1.tar.xz
usb: dwc3: dual role mode needs gadget support
Obviously the mode where both host and gadget mode are available also needs to depend on the Barebox gadget support. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/dwc3/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index 9d7b868dba..1b11f391fa 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -30,6 +30,7 @@ config USB_DWC3_GADGET
config USB_DWC3_DUAL_ROLE
bool "Dual Role mode"
+ depends on USB_GADGET
help
This is the default mode of working of DWC3 controller where
both host and gadget features are enabled.