aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2015-09-08 14:55:01 +0100
committerDaniel Thompson <daniel.thompson@linaro.org>2015-12-14 16:43:45 +0000
commit77cebb99544a62822485cb25d5b92f2d70492681 (patch)
treebdaf5ed0a31bfbd346839f65bbe4145eec082965
parentc06990c1e3dfbd3af3615615ba6c9620058e477b (diff)
downloadlinux-77cebb99544a62822485cb25d5b92f2d70492681.tar.gz
mmc: sdhci: Dummy driver for foo
-rw-r--r--drivers/mmc/host/Kconfig10
-rw-r--r--drivers/mmc/host/Makefile1
-rw-r--r--drivers/mmc/host/sdhci-foo.c1
3 files changed, 11 insertions, 1 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 1dee533634c9..100a490c3be9 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -274,6 +274,15 @@ config MMC_SDHCI_SPEAR
If unsure, say N.
+config MMC_SDHCI_FOO
+ tristate "SDHCI support on Foo"
+ depends on MMC_SDHCI && PLAT_FOO
+ depends on OF
+ help
+ This selects a fake Secure Digital Host Controller Interface (SDHCI).
+
+ If unsure, say N.
+
config MMC_SDHCI_S3C_DMA
bool "DMA support on S3C SDHCI"
depends on MMC_SDHCI_S3C
@@ -779,7 +788,6 @@ config MMC_TOSHIBA_PCI
config MMC_MTK
tristate "MediaTek SD/MMC Card Interface support"
- depends on HAS_DMA
help
This selects the MediaTek(R) Secure digital and Multimedia card Interface.
If you have a machine with a integrated SD/MMC card reader, say Y or M here.
diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile
index 3595f83e89dd..ae4a67130bae 100644
--- a/drivers/mmc/host/Makefile
+++ b/drivers/mmc/host/Makefile
@@ -18,6 +18,7 @@ obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o
obj-$(CONFIG_MMC_SDHCI_SIRF) += sdhci-sirf.o
obj-$(CONFIG_MMC_SDHCI_F_SDH30) += sdhci_f_sdh30.o
obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o
+obj-$(CONFIG_MMC_SDHCI_FOO) += sdhci-foo.o
obj-$(CONFIG_MMC_WBSD) += wbsd.o
obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
obj-$(CONFIG_MMC_MTK) += mtk-sd.o
diff --git a/drivers/mmc/host/sdhci-foo.c b/drivers/mmc/host/sdhci-foo.c
new file mode 100644
index 000000000000..e002be409262
--- /dev/null
+++ b/drivers/mmc/host/sdhci-foo.c
@@ -0,0 +1 @@
+/* dummy content */