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>2016-06-20 14:56:55 +0100
commit65772278eea0ca8e9dd29f82413dd482caaafa98 (patch)
tree4d7d4b09f887e3656bd63d9ebbf67ec025822224
parent2cae57d0b7624e64885fe65a0adc12636492093c (diff)
downloadlinux-65772278eea0ca8e9dd29f82413dd482caaafa98.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 0aa484c10c0a..f344702bc67c 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -275,6 +275,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
@@ -781,7 +790,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 af918d261ff9..235352a86dfc 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 */