aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/dwc2/Kconfig')
-rw-r--r--drivers/usb/dwc2/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig
index b323c4c11b0a..76b9ba4dc925 100644
--- a/drivers/usb/dwc2/Kconfig
+++ b/drivers/usb/dwc2/Kconfig
@@ -23,7 +23,7 @@ choice
23 23
24config USB_DWC2_HOST 24config USB_DWC2_HOST
25 bool "Host only mode" 25 bool "Host only mode"
26 depends on USB 26 depends on USB=y || (USB_DWC2=m && USB)
27 help 27 help
28 The Designware USB2.0 high-speed host controller 28 The Designware USB2.0 high-speed host controller
29 integrated into many SoCs. Select this option if you want the 29 integrated into many SoCs. Select this option if you want the
@@ -42,7 +42,7 @@ config USB_DWC2_PERIPHERAL
42 42
43config USB_DWC2_DUAL_ROLE 43config USB_DWC2_DUAL_ROLE
44 bool "Dual Role mode" 44 bool "Dual Role mode"
45 depends on (USB=y || USB=USB_DWC2) && (USB_GADGET=y || USB_GADGET=USB_DWC2) 45 depends on (USB=y && USB_GADGET=y) || (USB_DWC2=m && USB && USB_GADGET)
46 help 46 help
47 Select this option if you want the driver to work in a dual-role 47 Select this option if you want the driver to work in a dual-role
48 mode. In this mode both host and gadget features are enabled, and 48 mode. In this mode both host and gadget features are enabled, and