aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2011-12-19 19:42:27 -0500
committerFelipe Balbi <balbi@ti.com>2011-12-20 07:01:38 -0500
commitc6bde9b5ae7481d6e7a8aff46c5f8223538abc66 (patch)
tree5c65963e2f9f9087ffe3e68e252f2691f5b27ec2 /drivers/usb/musb
parent54a605f4cee1b208d8728352d6851680d39c7161 (diff)
usb: musb: cleanup kconfig
The whole thing depends on USB_MUSB_HDRC, just add an 'if'. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/Kconfig10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index f6e305fe6290..f70cab3beeec 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -30,9 +30,10 @@ config USB_MUSB_HDRC
30 To compile this driver as a module, choose M here; the 30 To compile this driver as a module, choose M here; the
31 module will be called "musb-hdrc". 31 module will be called "musb-hdrc".
32 32
33if USB_MUSB_HDRC
34
33choice 35choice
34 prompt "Platform Glue Layer" 36 prompt "Platform Glue Layer"
35 depends on USB_MUSB_HDRC
36 37
37config USB_MUSB_DAVINCI 38config USB_MUSB_DAVINCI
38 tristate "DaVinci" 39 tristate "DaVinci"
@@ -77,28 +78,24 @@ choice
77 78
78config USB_UX500_DMA 79config USB_UX500_DMA
79 bool 'ST Ericsson U8500 and U5500' 80 bool 'ST Ericsson U8500 and U5500'
80 depends on USB_MUSB_HDRC
81 depends on USB_MUSB_UX500 81 depends on USB_MUSB_UX500
82 help 82 help
83 Enable DMA transfers on UX500 platforms. 83 Enable DMA transfers on UX500 platforms.
84 84
85config USB_INVENTRA_DMA 85config USB_INVENTRA_DMA
86 bool 'Inventra' 86 bool 'Inventra'
87 depends on USB_MUSB_HDRC
88 depends on USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN 87 depends on USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
89 help 88 help
90 Enable DMA transfers using Mentor's engine. 89 Enable DMA transfers using Mentor's engine.
91 90
92config USB_TI_CPPI_DMA 91config USB_TI_CPPI_DMA
93 bool 'TI CPPI (Davinci)' 92 bool 'TI CPPI (Davinci)'
94 depends on USB_MUSB_HDRC
95 depends on USB_MUSB_DAVINCI 93 depends on USB_MUSB_DAVINCI
96 help 94 help
97 Enable DMA transfers when TI CPPI DMA is available. 95 Enable DMA transfers when TI CPPI DMA is available.
98 96
99config USB_TUSB_OMAP_DMA 97config USB_TUSB_OMAP_DMA
100 bool 'TUSB 6010' 98 bool 'TUSB 6010'
101 depends on USB_MUSB_HDRC
102 depends on USB_MUSB_TUSB6010 99 depends on USB_MUSB_TUSB6010
103 depends on ARCH_OMAP 100 depends on ARCH_OMAP
104 help 101 help
@@ -106,7 +103,6 @@ config USB_TUSB_OMAP_DMA
106 103
107config MUSB_PIO_ONLY 104config MUSB_PIO_ONLY
108 bool 'Disable DMA (always use PIO)' 105 bool 'Disable DMA (always use PIO)'
109 depends on USB_MUSB_HDRC
110 help 106 help
111 All data is copied between memory and FIFO by the CPU. 107 All data is copied between memory and FIFO by the CPU.
112 DMA controllers are ignored. 108 DMA controllers are ignored.
@@ -117,3 +113,5 @@ config MUSB_PIO_ONLY
117 parameter. 113 parameter.
118 114
119endchoice 115endchoice
116
117endif # USB_MUSB_HDRC