diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-30 14:45:06 +0200 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-30 14:45:06 +0200 | 
| commit | a19b0dd62d7b8efc658fa1aa685ff5665878f3ee (patch) | |
| tree | 1fadf0fb3da83203ba28f209ec99e1b33e03f4d5 /drivers/mmc/davinci_mmc.c | |
| parent | 60985bba58e7695dac1fddae8cdbb62d8cfd1254 (diff) | |
| parent | a71d45d706a5b51c348160163b6c159632273fed (diff) | |
| download | olio-uboot-2014.01-a19b0dd62d7b8efc658fa1aa685ff5665878f3ee.tar.xz olio-uboot-2014.01-a19b0dd62d7b8efc658fa1aa685ff5665878f3ee.zip | |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
	common/cmd_fpga.c
	drivers/usb/host/ohci-at91.c
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 e2379e326..5aa218426 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); |