Browse Source

Merge branch 'master' of git://git.denx.de/u-boot-usb

Tom Rini 7 years ago
parent
commit
95431aa54c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/usb/dwc3/Kconfig

+ 2 - 2
drivers/usb/dwc3/Kconfig

@@ -1,7 +1,6 @@
 config USB_DWC3
 config USB_DWC3
 	bool "DesignWare USB3 DRD Core Support"
 	bool "DesignWare USB3 DRD Core Support"
-	depends on (USB && USB_GADGET)
-	select USB_GADGET_DUALSPEED
+	depends on USB_HOST || USB_GADGET
 	help
 	help
 	  Say Y here if your system has a Dual Role SuperSpeed
 	  Say Y here if your system has a Dual Role SuperSpeed
 	  USB controller based on the DesignWare USB3 IP Core.
 	  USB controller based on the DesignWare USB3 IP Core.
@@ -21,6 +20,7 @@ config USB_DWC3_HOST
 config USB_DWC3_GADGET
 config USB_DWC3_GADGET
 	bool "Gadget only mode"
 	bool "Gadget only mode"
 	depends on USB_GADGET
 	depends on USB_GADGET
+	select USB_GADGET_DUALSPEED
 	help
 	help
 	  Select this when you want to use DWC3 in gadget mode only,
 	  Select this when you want to use DWC3 in gadget mode only,
 	  thereby the host feature will be regressed.
 	  thereby the host feature will be regressed.