Skip to content

Commit 2084890

Browse files
ChaotianJingstorulf
authored andcommitted
mmc: mediatek: Add Mediatek MMC driver
Add Mediatek MMC driver code Support eMMC/SD/SDIO Signed-off-by: Chaotian Jing <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 4c31d50 commit 2084890

File tree

4 files changed

+1389
-0
lines changed

4 files changed

+1389
-0
lines changed

drivers/mmc/host/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,3 +776,11 @@ config MMC_TOSHIBA_PCI
776776
tristate "Toshiba Type A SD/MMC Card Interface Driver"
777777
depends on PCI
778778
help
779+
780+
config MMC_MTK
781+
tristate "MediaTek SD/MMC Card Interface support"
782+
help
783+
This selects the MediaTek(R) Secure digital and Multimedia card Interface.
784+
If you have a machine with a integrated SD/MMC card reader, say Y or M here.
785+
This is needed if support for any SD/SDIO/MMC devices is required.
786+
If unsure, say N.

drivers/mmc/host/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ obj-$(CONFIG_MMC_SDHCI_F_SDH30) += sdhci_f_sdh30.o
2020
obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o
2121
obj-$(CONFIG_MMC_WBSD) += wbsd.o
2222
obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
23+
obj-$(CONFIG_MMC_MTK) += mtk-sd.o
2324
obj-$(CONFIG_MMC_OMAP) += omap.o
2425
obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
2526
obj-$(CONFIG_MMC_ATMELMCI) += atmel-mci.o

0 commit comments

Comments
 (0)