summaryrefslogtreecommitdiff
path: root/common/cmd_mmc_spi.c
Commit message (Collapse)AuthorAgeLines
* mmc_spi: add mmc_init callThomas Chou2011-04-29-0/+1
| | | | | | | As Andy Fleming suggested, we can call mmc_init() in mmc_spi command. So that we don't need to run mmcinfo command next. Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
* mmc: add generic mmc spi driverThomas Chou2011-04-13-0/+88
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>