:Blackfin SD Host Controller Driver
PATCH v3 1/1 :Blackfin SD Host Controller Driver
From: Cliff Cai <[email protected]>
Add SD host driver for Blackfin BF54x and BF51x.
Signed-off-by Cliff Cai <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>
---
v3
1.Add comments for this patch.
2.Add s-o-b's.
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
@@ -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
@@ -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
drivers/mmc/host/bfin_sdh.c line 7
Quoted 10 lines · On Wed, Nov 25, 2009 at 08:20, <[email protected]> wrote:
drivers/mmc/host/bfin_sdh.c new file +7
-0@@ -0,0 +1,634 @@ +/* +* bfin_sdh.c - Analog Devices Blackfin SDH Controller +* +* Copyright (C) 2009 Analog Device Inc. +* +* Licensed under the GPL-2 or later. +*/
any reason you dropped '2007-' ? we developed the code back then and certainly have copyright domain over it.
-mike