Skip to contentSkip to conversation

mmc: Blackfin SD Host Controller Driver

PATCH New [email protected] 1 participant 1 message Dec 15, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 180/196 mmc: Blackfin SD Host Controller Driver

From: Cliff Cai <[email protected]>

Add SD host driver for Blackfin BF54x and BF51x.

---

 drivers/mmc/host/Kconfig    |   19 +
 drivers/mmc/host/Makefile   |    1 
 drivers/mmc/host/bfin_sdh.c |  639 ++++++++++++++++++++++++++++++++++
 3 files changed, 659 insertions(+)
drivers/mmc/host/Kconfig renamed from drivers/mmc/host/Kconfig~blackfin-sd-host-controller-driver +19 -0
diff -puN drivers/mmc/host/Kconfig~blackfin-sd-host-controller-driver drivers/mmc/host/Kconfig
@@ -365,3 +365,22 @@ config MMC_VIA_SDMMC
 	  If you have a controller with this interface, say Y or M here.
 
 	  If unsure, say N.
+
+config SDH_BFIN
+	tristate "Blackfin Secure Digital Host support"
+	depends on MMC && ((BF54x && !BF544) || (BF51x && !BF512))
+	help
+	  If you say yes here you will get support for the Blackfin on-chip
+	  Secure Digital Host interface.  This includes support for MMC and
+	  SD cards.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called bfin_sdh.
+
+	  If unsure, say N.
+
+config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
+	bool "Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround"
+	depends on SDH_BFIN
+	help
+	  If you say yes here SD-Cards may work on the EZkit.
drivers/mmc/host/Makefile renamed from drivers/mmc/host/Makefile~blackfin-sd-host-controller-driver +1 -0
diff -puN drivers/mmc/host/Makefile~blackfin-sd-host-controller-driver drivers/mmc/host/Makefile
@@ -35,6 +35,7 @@ obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_
 obj-$(CONFIG_MMC_TMIO)		+= tmio_mmc.o
 obj-$(CONFIG_MMC_CB710)	+= cb710-mmc.o
 obj-$(CONFIG_MMC_VIA_SDMMC)	+= via-sdmmc.o
+obj-$(CONFIG_SDH_BFIN)		+= bfin_sdh.o
 
 ifeq ($(CONFIG_CB710_DEBUG),y)
 	CFLAGS-cb710-mmc	+= -DDEBUG
drivers/mmc/host/bfin_sdh.c new file +639 -0

639 lines not on this page · raw message

_