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-11-02 11:46:47 +0000
commit7a35b58a73a962004b5c57fce282a6dfdd4b55e3 (patch)
tree76f33ad9deabb7b243f3e223908666d0c13f4061
parente83bfcffa23077f7d8749305f62f07d8be830201 (diff)
downloadlinux-7a35b58a73a962004b5c57fce282a6dfdd4b55e3.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 8a1e3498261e..9961c524d5c2 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
@@ -787,7 +796,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 4f3452afa6ca..d1c33c631666 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 */