:Blackfin SD Host Controller Driver
PATCH 1/1 :Blackfin SD Host Controller Driver
From: Cliff Cai <[email protected]>
Signed-off-by 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
@@ -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
@@ -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
Quoted 3 lines · On Tue, Nov 24, 2009 at 10:39, <[email protected]> wrote:
From: Cliff Cai <[email protected]>
Signed-off-by Cliff Cai <[email protected]>
you dropped some people's s-o-b tags
Quoted 2 lines
+out4:
+free_irq(host->irq, host);
you didnt address the feedback given last time here:
You need a mmc_remove_host() here.
-mike