ARM:PXA Use new definitions in mmc.h
authorTom Rix <Tom.Rix@windriver.com>
Fri, 20 Feb 2009 02:47:50 +0000 (03:47 +0100)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 20 Feb 2009 02:47:50 +0000 (03:47 +0100)
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
drivers/mmc/pxa_mmc.c

index 0fa249edf51172478149869873ddf5de5900e18d..8225235bfed6a2a24e94cad3b8acb284a0bd6448 100644 (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);