Merge remote-tracking branch 'origin/develop-3.10' into develop-3.10-next
[firefly-linux-kernel-4.4.55.git] / drivers / usb / Kconfig
index e6e3388213a6fc24292909a9a7bad731c80d2dec..18c9c085a7afd09fd728e2ff643b993d35e53895 100644 (file)
@@ -2,61 +2,15 @@
 # USB device configuration
 #
 
-# many non-PCI SOC chips embed OHCI
+# These are unused now, remove them once they are no longer selected
 config USB_ARCH_HAS_OHCI
-       boolean
-       # ARM:
-       default y if SA1111
-       default y if ARCH_OMAP
-       default y if ARCH_S3C24XX
-       default y if PXA27x
-       default y if PXA3xx
-       default y if ARCH_EP93XX
-       default y if ARCH_AT91
-       default y if MFD_TC6393XB
-       default y if ARCH_W90X900
-       default y if ARCH_DAVINCI_DA8XX
-       default y if ARCH_CNS3XXX
-       default y if PLAT_SPEAR
-       default y if ARCH_EXYNOS
-       default y if ARCH_ROCKCHIP
-       # PPC:
-       default y if STB03xxx
-       default y if PPC_MPC52xx
-       # MIPS:
-       default y if MIPS_ALCHEMY
-       default y if MACH_JZ4740
-       # more:
-       default PCI
-
-# some non-PCI hcds implement EHCI
+       bool
+
 config USB_ARCH_HAS_EHCI
-       boolean
-       default y if FSL_SOC
-       default y if PPC_MPC512x
-       default y if ARCH_IXP4XX
-       default y if ARCH_W90X900
-       default y if ARCH_AT91
-       default y if ARCH_MXC
-       default y if ARCH_MXS
-       default y if ARCH_OMAP3
-       default y if ARCH_CNS3XXX
-       default y if ARCH_VT8500
-       default y if PLAT_SPEAR
-       default y if PLAT_S5P
-       default y if ARCH_MSM
-       default y if MICROBLAZE
-       default y if SPARC_LEON
-       default y if ARCH_MMP
-       default y if MACH_LOONGSON1
-       default y if PLAT_ORION
-       default y if ARCH_ROCKCHIP
-       default PCI
-
-# some non-PCI HCDs implement xHCI
+       bool
+
 config USB_ARCH_HAS_XHCI
-       boolean
-       default PCI
+       bool
 
 menuconfig USB_SUPPORT
        bool "USB support"
@@ -73,19 +27,8 @@ config USB_COMMON
        default y
        depends on USB || USB_GADGET
 
-# Host-side USB depends on having a host controller
-# NOTE:  dummy_hcd is always an option, but it's ignored here ...
-# NOTE:  SL-811 option should be board-specific ...
 config USB_ARCH_HAS_HCD
-       boolean
-       default y if USB_ARCH_HAS_OHCI
-       default y if USB_ARCH_HAS_EHCI
-       default y if USB_ARCH_HAS_XHCI
-       default y if PCMCIA && !M32R                    # sl811_cs
-       default y if ARM                                # SL-811
-       default y if BLACKFIN                           # SL-811
-       default y if SUPERH                             # r8a66597-hcd
-       default PCI
+       def_bool y
 
 # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
 config USB
@@ -195,37 +138,6 @@ source "drivers/usb/phy/Kconfig"
 
 source "drivers/usb/gadget/Kconfig"
 
-# Rockchips otg20 and host20 both use DWC_OTG controller,
-# DWC_OTG_274 is an old usb driver version, used for RK3188 and earlier platform
-# DWC_OTG_310 is a new usb driver version, used for RK3188 and newer platform
-
-menu "Dwc Otg Support"
-depends on ARCH_ROCKCHIP
-
-choice
-prompt "Dwc Otg Driver Version Select"
-config DWC_OTG_274
-       bool "DWC_OTG_274"
-       ---help---
-         This driver is an old dwc_otg driver version, only used for
-         RK3188 and earlier platform.
-
-config DWC_OTG_310
-       bool "DWC_OTG_310"
-       ---help---
-         This driver is a new dwc_otg driver version, only used for
-         RK3188 and newer platform
-
-endchoice
-
-if DWC_OTG_310
 source "drivers/usb/dwc_otg_310/Kconfig"
-endif # DWC_OTG_310
-
-if DWC_OTG_274
-source "drivers/usb/dwc_otg/Kconfig"
-endif # DWC_OTG_274
-
-endmenu
 
 endif # USB_SUPPORT