aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/Kconfig')
-rw-r--r--drivers/usb/Kconfig43
1 files changed, 22 insertions, 21 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 75823a1abeb6..e4405e088589 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -10,27 +10,6 @@ menuconfig USB_SUPPORT
10 This option adds core support for Universal Serial Bus (USB). 10 This option adds core support for Universal Serial Bus (USB).
11 You will also need drivers from the following menu to make use of it. 11 You will also need drivers from the following menu to make use of it.
12 12
13if USB_SUPPORT
14
15config USB_COMMON
16 tristate
17 default y
18 depends on USB || USB_GADGET
19
20# Host-side USB depends on having a host controller
21# NOTE: dummy_hcd is always an option, but it's ignored here ...
22# NOTE: SL-811 option should be board-specific ...
23config USB_ARCH_HAS_HCD
24 boolean
25 default y if USB_ARCH_HAS_OHCI
26 default y if USB_ARCH_HAS_EHCI
27 default y if USB_ARCH_HAS_XHCI
28 default y if PCMCIA && !M32R # sl811_cs
29 default y if ARM # SL-811
30 default y if BLACKFIN # SL-811
31 default y if SUPERH # r8a66597-hcd
32 default PCI
33
34# many non-PCI SOC chips embed OHCI 13# many non-PCI SOC chips embed OHCI
35config USB_ARCH_HAS_OHCI 14config USB_ARCH_HAS_OHCI
36 boolean 15 boolean
@@ -76,6 +55,7 @@ config USB_ARCH_HAS_EHCI
76 default y if MICROBLAZE 55 default y if MICROBLAZE
77 default y if SPARC_LEON 56 default y if SPARC_LEON
78 default y if ARCH_MMP 57 default y if ARCH_MMP
58 default y if MACH_LOONGSON1
79 default PCI 59 default PCI
80 60
81# some non-PCI HCDs implement xHCI 61# some non-PCI HCDs implement xHCI
@@ -83,6 +63,27 @@ config USB_ARCH_HAS_XHCI
83 boolean 63 boolean
84 default PCI 64 default PCI
85 65
66if USB_SUPPORT
67
68config USB_COMMON
69 tristate
70 default y
71 depends on USB || USB_GADGET
72
73# Host-side USB depends on having a host controller
74# NOTE: dummy_hcd is always an option, but it's ignored here ...
75# NOTE: SL-811 option should be board-specific ...
76config USB_ARCH_HAS_HCD
77 boolean
78 default y if USB_ARCH_HAS_OHCI
79 default y if USB_ARCH_HAS_EHCI
80 default y if USB_ARCH_HAS_XHCI
81 default y if PCMCIA && !M32R # sl811_cs
82 default y if ARM # SL-811
83 default y if BLACKFIN # SL-811
84 default y if SUPERH # r8a66597-hcd
85 default PCI
86
86# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface. 87# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
87config USB 88config USB
88 tristate "Support for Host-side USB" 89 tristate "Support for Host-side USB"