af63cdf87a
Signed-off-by: Imre Kaloz <kaloz@openwrt.org SVN-Revision: 39582
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
From 447675f817b95881e9922f002de3fc7f6d6e9207 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?David=20Lanzend=C3=B6rfer?= <david.lanzendoerfer@o2s.ch>
|
|
Date: Fri, 6 Sep 2013 22:34:33 +0200
|
|
Subject: [PATCH] ARM: sunxi-mci: Add driver for SD/MMC hosts found within
|
|
Allwinner A1X SoCs
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
---
|
|
drivers/mmc/host/Kconfig | 8 +
|
|
drivers/mmc/host/Makefile | 2 +
|
|
drivers/mmc/host/sunxi-mci.c | 1056 ++++++++++++++++++++++++++++++++++++++++++
|
|
drivers/mmc/host/sunxi-mci.h | 334 +++++++++++++
|
|
4 files changed, 1400 insertions(+)
|
|
create mode 100644 drivers/mmc/host/sunxi-mci.c
|
|
create mode 100644 drivers/mmc/host/sunxi-mci.h
|
|
|
|
--- a/drivers/mmc/host/Kconfig
|
|
+++ b/drivers/mmc/host/Kconfig
|
|
@@ -690,3 +690,11 @@ config MMC_REALTEK_PCI
|
|
help
|
|
Say Y here to include driver code to support SD/MMC card interface
|
|
of Realtek PCI-E card reader
|
|
+
|
|
+config MMC_SUNXI
|
|
+ tristate "Allwinner A1X SD/MMC Host Controller support"
|
|
+ depends on ARCH_SUNXI
|
|
+ default y
|
|
+ help
|
|
+ This selects support for the SD/MMC Host Controller on
|
|
+ Allwinner A1X based SoCs.
|
|
--- a/drivers/mmc/host/Makefile
|
|
+++ b/drivers/mmc/host/Makefile
|
|
@@ -53,6 +53,8 @@ obj-$(CONFIG_MMC_WMT) += wmt-sdmmc.o
|
|
|
|
obj-$(CONFIG_MMC_REALTEK_PCI) += rtsx_pci_sdmmc.o
|
|
|
|
+obj-$(CONFIG_MMC_SUNXI) += sunxi-mci.o
|
|
+
|
|
obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-pltfm.o
|
|
obj-$(CONFIG_MMC_SDHCI_CNS3XXX) += sdhci-cns3xxx.o
|
|
obj-$(CONFIG_MMC_SDHCI_ESDHC_IMX) += sdhci-esdhc-imx.o
|