]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: add generic mmc spi driver
authorThomas Chou <thomas@wytron.com.tw>
Fri, 24 Dec 2010 13:12:21 +0000 (13:12 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 13 Apr 2011 11:35:22 +0000 (06:35 -0500)
commitd52ebf102209cc1ad460c79b9498b2c8936ba413
tree843fc83bf6b7d92f49177bc0c585a56b20662bb2
parent5f837c2c0ebda8f22474d26f85857993fb81ad7c
mmc: add generic mmc spi driver

This patch supports mmc/sd card with spi interface. It is based on
the generic mmc framework. It works with SDHC and supports multi
blocks read/write.

The crc checksum on data packet is enabled with the def,

There is a subcomamnd "mmc_spi" to setup spi bus and cs at run time.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Andy Fleming <afleming@freescale.com>
common/Makefile
common/cmd_mmc_spi.c [new file with mode: 0644]
drivers/mmc/Makefile
drivers/mmc/mmc.c
drivers/mmc/mmc_spi.c [new file with mode: 0644]
include/mmc.h