diff options
author | Keshava Munegowda <keshava_mgowda@ti.com> | 2010-11-21 12:53:41 -0500 |
---|---|---|
committer | Anand Gadiyar <gadiyar@ti.com> | 2010-11-30 16:02:10 -0500 |
commit | 7f124f4b353672bc150af959910cfc2a9778260a (patch) | |
tree | cb4d0ed9ce8b58e6e10f085a2e85dca472651097 /drivers/usb/host | |
parent | c072604115ab50d023eb5c33d4f3229400e441f4 (diff) |
usb: ehci: introduce CONFIG_USB_EHCI_HCD_OMAP
Introduce the CONFIG_USB_EHCI_HCD_OMAP option to select
EHCI support on OMAP3 and later chips. This scales better
than having a long line of dependencies for each new OMAP
with EHCI support.
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/Kconfig | 8 | ||||
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 2391c396ca32..6a7c688b4781 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
@@ -133,6 +133,14 @@ config USB_EHCI_MXC | |||
133 | ---help--- | 133 | ---help--- |
134 | Variation of ARC USB block used in some Freescale chips. | 134 | Variation of ARC USB block used in some Freescale chips. |
135 | 135 | ||
136 | config USB_EHCI_HCD_OMAP | ||
137 | bool "EHCI support for OMAP3 and later chips" | ||
138 | depends on USB_EHCI_HCD && ARCH_OMAP | ||
139 | default y | ||
140 | --- help --- | ||
141 | Enables support for the on-chip EHCI controller on | ||
142 | OMAP3 and later chips. | ||
143 | |||
136 | config USB_EHCI_HCD_PPC_OF | 144 | config USB_EHCI_HCD_PPC_OF |
137 | bool "EHCI support for PPC USB controller on OF platform bus" | 145 | bool "EHCI support for PPC USB controller on OF platform bus" |
138 | depends on USB_EHCI_HCD && PPC_OF | 146 | depends on USB_EHCI_HCD && PPC_OF |
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 87157db155f6..2f06ba471953 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -1171,7 +1171,7 @@ MODULE_LICENSE ("GPL"); | |||
1171 | #define PLATFORM_DRIVER ehci_hcd_au1xxx_driver | 1171 | #define PLATFORM_DRIVER ehci_hcd_au1xxx_driver |
1172 | #endif | 1172 | #endif |
1173 | 1173 | ||
1174 | #ifdef CONFIG_ARCH_OMAP3 | 1174 | #ifdef CONFIG_USB_EHCI_HCD_OMAP |
1175 | #include "ehci-omap.c" | 1175 | #include "ehci-omap.c" |
1176 | #define PLATFORM_DRIVER ehci_hcd_omap_driver | 1176 | #define PLATFORM_DRIVER ehci_hcd_omap_driver |
1177 | #endif | 1177 | #endif |