Commit 1376d92f authored by Felipe Balbi's avatar Felipe Balbi

usb: musb: allow musb and glue layers to be modules

This in part reverts commit 7a180e70.
(usb: musb: temporarily make it bool) and while
at that we also allow glue layers to be compiled
as modules.

There are still some other changes needed
until we can have a fully functional build
with this setup, but we're getting there.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 5c8a86e1
...@@ -14,7 +14,7 @@ config USB_MUSB_HDRC ...@@ -14,7 +14,7 @@ config USB_MUSB_HDRC
select TWL4030_USB if MACH_OMAP_3430SDP select TWL4030_USB if MACH_OMAP_3430SDP
select TWL6030_USB if MACH_OMAP_4430SDP || MACH_OMAP4_PANDA select TWL6030_USB if MACH_OMAP_4430SDP || MACH_OMAP4_PANDA
select USB_OTG_UTILS select USB_OTG_UTILS
bool 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)'
help help
Say Y here if your system has a dual role high speed USB Say Y here if your system has a dual role high speed USB
controller based on the Mentor Graphics silicon IP. Then controller based on the Mentor Graphics silicon IP. Then
...@@ -30,39 +30,39 @@ config USB_MUSB_HDRC ...@@ -30,39 +30,39 @@ config USB_MUSB_HDRC
If you do not know what this is, please say N. If you do not know what this is, please say N.
# To compile this driver as a module, choose M here; the To compile this driver as a module, choose M here; the
# module will be called "musb-hdrc". module will be called "musb-hdrc".
choice choice
prompt "Platform Glue Layer" prompt "Platform Glue Layer"
depends on USB_MUSB_HDRC depends on USB_MUSB_HDRC
config USB_MUSB_DAVINCI config USB_MUSB_DAVINCI
bool "DaVinci" tristate "DaVinci"
depends on ARCH_DAVINCI_DMx depends on ARCH_DAVINCI_DMx
config USB_MUSB_DA8XX config USB_MUSB_DA8XX
bool "DA8xx/OMAP-L1x" tristate "DA8xx/OMAP-L1x"
depends on ARCH_DAVINCI_DA8XX depends on ARCH_DAVINCI_DA8XX
config USB_MUSB_TUSB6010 config USB_MUSB_TUSB6010
bool "TUSB6010" tristate "TUSB6010"
depends on ARCH_OMAP depends on ARCH_OMAP
config USB_MUSB_OMAP2PLUS config USB_MUSB_OMAP2PLUS
bool "OMAP2430 and onwards" tristate "OMAP2430 and onwards"
depends on ARCH_OMAP2PLUS depends on ARCH_OMAP2PLUS
config USB_MUSB_AM35X config USB_MUSB_AM35X
bool "AM35x" tristate "AM35x"
depends on ARCH_OMAP depends on ARCH_OMAP
config USB_MUSB_BLACKFIN config USB_MUSB_BLACKFIN
bool "Blackfin" tristate "Blackfin"
depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523) depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
config USB_MUSB_UX500 config USB_MUSB_UX500
bool "U8500 and U5500" tristate "U8500 and U5500"
depends on (ARCH_U8500 && AB8500_USB) || (ARCH_U5500) depends on (ARCH_U8500 && AB8500_USB) || (ARCH_U5500)
endchoice endchoice
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment