Skip to contentSkip to conversation

:Blackfin SD Host Controller Driver

PATCH In review [email protected] 2 participants 2 messages Nov 24, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 :Blackfin SD Host Controller Driver

From: Cliff Cai <[email protected]>

---
 drivers/mmc/host/Kconfig    |   20 ++
 drivers/mmc/host/Makefile   |    1 +
 drivers/mmc/host/bfin_sdh.c |  633 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 654 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mmc/host/bfin_sdh.c
drivers/mmc/host/Kconfig +20 -0
index 432ae83..d870e21 100644
@@ -357,3 +357,23 @@ 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 (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
+	default BFIN548_EZKIT
+	help
+	  If you say yes here SD-Cards may work on the EZkit.
drivers/mmc/host/Makefile +1 -0
index abcb040..256905c 100644
@@ -34,6 +34,7 @@ obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_cs.o
 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 +633 -0

633 lines not on this page · raw message

Signature · 1 line
1.6.5.3