Skip to content

Commit

Permalink
mmc: Blackfin SD Host Controller Driver
Browse files Browse the repository at this point in the history
Add SD host driver for Blackfin BF54x and BF51x.

[[email protected]: fix layout, c99 warning]
Signed-off-by: Cliff Cai <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Cliff Cai authored and torvalds committed Dec 15, 2009
1 parent 74791a2 commit eb962d5
Show file tree
Hide file tree
Showing 3 changed files with 659 additions and 0 deletions.
19 changes: 19 additions & 0 deletions drivers/mmc/host/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
1 change: 1 addition & 0 deletions drivers/mmc/host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,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
Expand Down
Loading

0 comments on commit eb962d5

Please sign in to comment.