Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx
[oweals/u-boot.git] / drivers / usb / dwc3 / Kconfig
index bbd8105c06f2917d0acae857a97f611d22517678..c302486291f429ee83137cd5bf2c89b351390dc5 100644 (file)
@@ -7,25 +7,11 @@ config USB_DWC3
 
 if USB_DWC3
 
-choice
-       bool "DWC3 Mode Selection"
-
-config USB_DWC3_HOST
-       bool "Host only mode"
-       depends on USB
-       help
-         Select this when you want to use DWC3 in host mode only,
-         thereby the gadget feature will be regressed.
-
 config USB_DWC3_GADGET
-       bool "Gadget only mode"
+       bool "USB Gadget support for DWC3"
+       default y
        depends on USB_GADGET
        select USB_GADGET_DUALSPEED
-       help
-         Select this when you want to use DWC3 in gadget mode only,
-         thereby the host feature will be regressed.
-
-endchoice
 
 comment "Platform Glue Driver Support"
 
@@ -44,6 +30,14 @@ config USB_DWC3_GENERIC
          Select this for Xilinx ZynqMP and similar Platforms.
          This wrapper supports Host and Peripheral operation modes.
 
+config USB_DWC3_MESON_G12A
+       bool "Amlogic Meson G12A USB wrapper"
+       depends on DM_USB && USB_DWC3 && ARCH_MESON
+       imply PHY
+       help
+         Select this for Amlogic Meson G12A Platforms.
+         This wrapper supports Host and Peripheral operation modes.
+
 config USB_DWC3_UNIPHIER
        bool "DesignWare USB3 Host Support on UniPhier Platforms"
        depends on ARCH_UNIPHIER && USB_XHCI_DWC3