Skip to contentSkip to conversation

:Blackfin SD Host Controller Driver

PATCH Superseded [email protected] 2 participants 4 messages Nov 25, 2009 MMC, SD and SDIO

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 :Blackfin SD Host Controller Driver

From: Cliff Cai <[email protected]>

v2-v1 change:remove mmc host before releasing it in sdh_probe().

---
 drivers/mmc/host/Kconfig    |   19 ++
 drivers/mmc/host/Makefile   |    1 +
 drivers/mmc/host/bfin_sdh.c |  634 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 654 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mmc/host/bfin_sdh.c
drivers/mmc/host/Kconfig +19 -0
index 432ae83..ed8b193 100644
@@ -357,3 +357,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 +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 +634 -0

634 lines not on this page · raw message

Signature · 1 line
1.6.5.3
author
#2 lore raw
Quoted 9 lines · Mike Frysinger
Quoted 6 lines · On Wed, Nov 25, 2009 at 06:25,  <[email protected]> wrote:

From: Cliff Cai <[email protected]>

v2-v1 change:remove mmc host before releasing it in sdh_probe().

---

changelog info should be below the ---, not above.

is this true?

Quoted 5 lines

you're also missing the s-o-b's:

-mike

Ok,I will do it.

Cliff

#3 lore raw
Quoted 4 lines · Cliff Cai
Quoted 3 lines · Mike Frysinger
Quoted 2 lines · On Wed, Nov 25, 2009 at 06:25,  <[email protected]> wrote:

From: Cliff Cai <[email protected]>

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

v2-v1 change:remove mmc host before releasing it in sdh_probe().

---

changelog info should be below the ---, not above.

is this true?

things above the --- are the changelog and go into the git commit. things below are transient notes for people looking at the patches. -mike