|
@@ -23,7 +23,7 @@ choice
|
|
|
|
|
|
config USB_DWC2_HOST
|
|
config USB_DWC2_HOST
|
|
bool "Host only mode"
|
|
bool "Host only mode"
|
|
- depends on USB
|
|
|
|
|
|
+ depends on USB=y || (USB_DWC2=m && USB)
|
|
help
|
|
help
|
|
The Designware USB2.0 high-speed host controller
|
|
The Designware USB2.0 high-speed host controller
|
|
integrated into many SoCs. Select this option if you want the
|
|
integrated into many SoCs. Select this option if you want the
|
|
@@ -42,7 +42,7 @@ config USB_DWC2_PERIPHERAL
|
|
|
|
|
|
config USB_DWC2_DUAL_ROLE
|
|
config USB_DWC2_DUAL_ROLE
|
|
bool "Dual Role mode"
|
|
bool "Dual Role mode"
|
|
- depends on (USB=y || USB=USB_DWC2) && (USB_GADGET=y || USB_GADGET=USB_DWC2)
|
|
|
|
|
|
+ depends on (USB=y && USB_GADGET=y) || (USB_DWC2=m && USB && USB_GADGET)
|
|
help
|
|
help
|
|
Select this option if you want the driver to work in a dual-role
|
|
Select this option if you want the driver to work in a dual-role
|
|
mode. In this mode both host and gadget features are enabled, and
|
|
mode. In this mode both host and gadget features are enabled, and
|