summaryrefslogtreecommitdiffstats
path: root/drivers/usb
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
parent293e981e7452511a876431aa076c0eb256623124 (diff)
parentaf86e3a0548e16dc9cef13debd3d64d9091ba473 (diff)
downloadbarebox-77d783a5170896aea021ec180e16751a0a249627.tar.gz
barebox-77d783a5170896aea021ec180e16751a0a249627.tar.xz
Merge branch 'for-next/randfixes'
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/dwc3/Kconfig2
-rw-r--r--drivers/usb/misc/Kconfig1
2 files changed, 3 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.
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
index 7d6c9da594..270606f50b 100644
--- a/drivers/usb/misc/Kconfig
+++ b/drivers/usb/misc/Kconfig
@@ -6,6 +6,7 @@ comment "USB Miscellaneous drivers"
config USB_HUB_USB251XB
bool "USB251XB Hub Controller Configuration Driver"
depends on I2C
+ depends on OFDEVICE
select NLS
help
This option enables support for configuration via SMBus of the