summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-02-20 03:47:50 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-02-20 03:47:50 +0100
commite3ba7f137c7c454ad626cd0bd2e84d73c7a8644f (patch)
tree6e42f00a0fb941b24b142a51bb1523fedb17a888 /drivers/mmc
parent682beeac34dc9ab18fab58b26973d2e29d113717 (diff)
downloadu-boot-imx-e3ba7f137c7c454ad626cd0bd2e84d73c7a8644f.zip
u-boot-imx-e3ba7f137c7c454ad626cd0bd2e84d73c7a8644f.tar.gz
u-boot-imx-e3ba7f137c7c454ad626cd0bd2e84d73c7a8644f.tar.bz2
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/pxa_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/pxa_mmc.c b/drivers/mmc/pxa_mmc.c
index 0fa249e..8225235 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);