aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2010-05-02 17:35:39 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:43:37 -0600
commit99ca84edde64f989e78d2e2ae1c73e96c233c441 (patch)
tree1318f8010dc12aab9c12dabcb7988ca2af9d9809 /drivers/mmc
parent808acc53467a70c10d25b037cd53e58f405bc9fd (diff)
u8500: mmc: update mmc build support for u8500
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/Kconfig51
-rw-r--r--drivers/mmc/host/Makefile1
2 files changed, 52 insertions, 0 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 2e13b94769f..04dacd57c5e 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -370,6 +370,57 @@ config MMC_TMIO
This provides support for the SD/MMC cell found in TC6393XB,
T7L66XB and also HTC ASIC3
+config MMC_U8500
+ tristate "U8500 MMC Card Interface support"
+ depends on ARM_AMBA && MMC && ARCH_U8500 && STM_DMA
+ help
+ This selects the U8500 Multimedia card interface.
+ If you have a U8500 platform with a MMC slot, say Y or M here.
+ Depends on U8500/STM DMA driver.
+ If unsure, say N.
+ choice
+ prompt "Driver mode"
+ depends on MMC_U8500
+ default U8500_MMC_DMA
+
+ config U8500_MMC_DMA
+ depends on MMC_U8500
+ bool "DMA mode"
+
+ config U8500_MMC_POLL
+ depends on MMC_U8500
+ bool "Polling mode"
+
+ config U8500_MMC_INTR
+ depends on MMC_U8500
+ bool "Interrupt mode"
+ endchoice
+
+config U8500_SDIO
+ tristate "Nomadik SDIO Card Interface support"
+ depends on MMC_U8500
+ help
+ This selects the U8500 SDIO card support.
+ If you have a U8500 platform with a SDIO slot, say Y or M here.
+ If unsure, say N.
+ choice
+ prompt "Driver mode"
+ depends on U8500_SDIO
+ default U8500_SDIO_POLL
+
+ config U8500_SDIO_DMA
+ depends on U8500_SDIO
+ bool "SDIO DMA mode"
+
+ config U8500_SDIO_POLL
+ depends on U8500_SDIO
+ bool "SDIO Polling mode"
+
+ config U8500_SDIO_INTR
+ depends on U8500_SDIO
+ bool "SDIO Interrupt mode"
+ endchoice
+
config MMC_CB710
tristate "ENE CB710 MMC/SD Interface support"
depends on PCI
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index f4803977dfc..2539f3bd4fc 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -34,6 +34,7 @@ obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
+obj-$(CONFIG_MMC_U8500) += mmc-u8500.o
obj-$(CONFIG_MMC_SDHCI_OF) += sdhci-of.o
sdhci-of-y := sdhci-of-core.o