diff options
author | Tom Rini <trini@ti.com> | 2013-05-07 10:09:00 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-07 10:09:00 -0400 |
commit | 7e7501f4bb0d550fbc6960e7e2fb2bc84d9795cf (patch) | |
tree | 10ee78027dbf2d1e6e0d4d454c85d40ef6c7d73c /drivers/mmc/davinci_mmc.c | |
parent | 4f4eab4d14b181c3a9447c75fd2b41b9d0d761e4 (diff) | |
parent | 88227a1d8a734cfd09ac43609abec8b66c2d2610 (diff) | |
download | u-boot-imx-7e7501f4bb0d550fbc6960e7e2fb2bc84d9795cf.zip u-boot-imx-7e7501f4bb0d550fbc6960e7e2fb2bc84d9795cf.tar.gz u-boot-imx-7e7501f4bb0d550fbc6960e7e2fb2bc84d9795cf.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-mmc
Diffstat (limited to 'drivers/mmc/davinci_mmc.c')
-rw-r--r-- | drivers/mmc/davinci_mmc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mmc/davinci_mmc.c b/drivers/mmc/davinci_mmc.c index e2379e3..5aa2184 100644 --- a/drivers/mmc/davinci_mmc.c +++ b/drivers/mmc/davinci_mmc.c @@ -285,8 +285,11 @@ dmmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) */ if (bytes_left > fifo_bytes) dmmc_wait_fifo_status(regs, 0x4a); - else if (bytes_left == fifo_bytes) + else if (bytes_left == fifo_bytes) { dmmc_wait_fifo_status(regs, 0x40); + if (cmd->cmdidx == MMC_CMD_SEND_EXT_CSD) + udelay(600); + } for (i = 0; bytes_left && (i < fifo_words); i++) { cmddata = get_val(®s->mmcdrr); |