diff options
author | Rob Emanuele <rob@emanuele.us> | 2009-09-22 19:45:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:37 -0400 |
commit | 04d699c3643fbf75dd72c03a4eacec87149c4aca (patch) | |
tree | 039513a649e9c83648b89aaeb291a6065eb86af8 /drivers/mmc/host/Kconfig | |
parent | 7c979ec7135d96bbff34790bf4b85a8508ede7fc (diff) |
atmel-mci: unified Atmel MCI drivers (AVR32 & AT91)
Unification of the atmel-mci driver to support the AT91 processors MCI
interface. The atmel-mci driver currently supports the AVR32 and this
patch adds AT91 support.
Add read/write proof selection switch dependent on chip availability of
this feature.
To use this new driver on a at91 the platform driver for your board needs
to be updated.
[nicolas.ferre@atmel.com indent, Kconfig comment and one printk modification]
Signed-off-by: Rob Emanuele <rob@emanuele.us>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Andrew Victor <linux@maxim.org.za>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/Kconfig')
-rw-r--r-- | drivers/mmc/host/Kconfig | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 34fdfa968fe9..6f20eb93554b 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig | |||
@@ -160,6 +160,12 @@ config MMC_AU1X | |||
160 | 160 | ||
161 | If unsure, say N. | 161 | If unsure, say N. |
162 | 162 | ||
163 | choice | ||
164 | prompt "Atmel SD/MMC Driver" | ||
165 | default MMC_ATMELMCI if AVR32 | ||
166 | help | ||
167 | Choose which driver to use for the Atmel MCI Silicon | ||
168 | |||
163 | config MMC_AT91 | 169 | config MMC_AT91 |
164 | tristate "AT91 SD/MMC Card Interface support" | 170 | tristate "AT91 SD/MMC Card Interface support" |
165 | depends on ARCH_AT91 | 171 | depends on ARCH_AT91 |
@@ -170,17 +176,19 @@ config MMC_AT91 | |||
170 | 176 | ||
171 | config MMC_ATMELMCI | 177 | config MMC_ATMELMCI |
172 | tristate "Atmel Multimedia Card Interface support" | 178 | tristate "Atmel Multimedia Card Interface support" |
173 | depends on AVR32 | 179 | depends on AVR32 || ARCH_AT91 |
174 | help | 180 | help |
175 | This selects the Atmel Multimedia Card Interface driver. If | 181 | This selects the Atmel Multimedia Card Interface driver. If |
176 | you have an AT32 (AVR32) platform with a Multimedia Card | 182 | you have an AT32 (AVR32) or AT91 platform with a Multimedia |
177 | slot, say Y or M here. | 183 | Card slot, say Y or M here. |
178 | 184 | ||
179 | If unsure, say N. | 185 | If unsure, say N. |
180 | 186 | ||
187 | endchoice | ||
188 | |||
181 | config MMC_ATMELMCI_DMA | 189 | config MMC_ATMELMCI_DMA |
182 | bool "Atmel MCI DMA support (EXPERIMENTAL)" | 190 | bool "Atmel MCI DMA support (EXPERIMENTAL)" |
183 | depends on MMC_ATMELMCI && DMA_ENGINE && EXPERIMENTAL | 191 | depends on MMC_ATMELMCI && AVR32 && DMA_ENGINE && EXPERIMENTAL |
184 | help | 192 | help |
185 | Say Y here to have the Atmel MCI driver use a DMA engine to | 193 | Say Y here to have the Atmel MCI driver use a DMA engine to |
186 | do data transfers and thus increase the throughput and | 194 | do data transfers and thus increase the throughput and |