ARM:PXA Use new definitions in mmc.h

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Tom Rix 2009-02-20 03:47:50 +01:00 committed by Jean-Christophe PLAGNIOL-VILLARD
parent 682beeac34
commit e3ba7f137c

View file

@ -179,7 +179,7 @@ mmc_block_write(ulong dst, uchar * src, int len)
MMC_STRPCL = MMC_STRPCL_STOP_CLK;
MMC_NOB = 1;
MMC_BLKLEN = len;
mmc_cmd(MMC_CMD_WRITE_BLOCK, argh, argl,
mmc_cmd(MMC_CMD_WRITE_SINGLE_BLOCK, argh, argl,
MMC_CMDAT_R1 | MMC_CMDAT_WRITE | MMC_CMDAT_BLOCK |
MMC_CMDAT_DATA_EN);