From: Tom Rix Date: Fri, 20 Feb 2009 02:47:50 +0000 (+0100) Subject: ARM:PXA Use new definitions in mmc.h X-Git-Tag: v2009.03-rc1~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e3ba7f137c7c454ad626cd0bd2e84d73c7a8644f;p=u-boot ARM:PXA Use new definitions in mmc.h Signed-off-by: Tom Rix Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/drivers/mmc/pxa_mmc.c b/drivers/mmc/pxa_mmc.c index 0fa249edf5..8225235bfe 100644 --- a/drivers/mmc/pxa_mmc.c +++ b/drivers/mmc/pxa_mmc.c @@ -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);