summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-12-10 05:41:34 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-10 05:41:34 +0100
commit77d783a5170896aea021ec180e16751a0a249627 (patch)
treef61e969576c736cdd4d06f89bf8b8dae22093298 /drivers/usb/dwc3/Kconfig
parent293e981e7452511a876431aa076c0eb256623124 (diff)
parentaf86e3a0548e16dc9cef13debd3d64d9091ba473 (diff)
downloadbarebox-77d783a5170896aea021ec180e16751a0a249627.tar.gz
barebox-77d783a5170896aea021ec180e16751a0a249627.tar.xz
Merge branch 'for-next/randfixes'
Diffstat (limited to 'drivers/usb/dwc3/Kconfig')
-rw-r--r--drivers/usb/dwc3/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index 09da121374..1b11f391fa 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -1,6 +1,7 @@
config USB_DWC3
tristate "DesignWare USB3 DRD Core Support"
depends on USB && HAS_DMA
+ depends on OFDEVICE
select USB_XHCI
help
Say Y or M here if your system has a Dual Role SuperSpeed
@@ -29,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.