u-boot/drivers/mmc
Tom Rini a7778f8fbe omap_hsmmc: Wait for CMDI to be clear
Before we can send a command we need both the DATI (command inhibit on
mmc_dat line) bit and CMDI (command inhibit on mmc_cmd line) are clear.
The previous behavior of only checking on DATI was insufficient on some
cards and incorrect behavior in any case.  This makes the code check
for both bits being clear and makes the error print more clear as
to what happened.  DATI_CMDDIS is removed as it was unused elsewhere
in the code and stood for 'DATI is set, cmds are disabled still'.

Fix originally spotted by Peter Bigot.

Tested-by: Peter A. Bigot <bigotp@acm.org>
Tested-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Tom Rini <trini@ti.com>
Tested-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-02-15 17:42:22 -06:00
..
arm_pl180_mmci.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
arm_pl180_mmci.h MMC: Add support for PL180 ARM mmc device 2011-04-29 03:20:01 -05:00
atmel_mci.c avr32: rename memory-map.h -> hardware.h 2011-05-18 07:56:50 +02:00
atmel_mci.h Revert "AT91:mmc:fix multiple read/write error" 2011-07-28 20:47:15 -05:00
bfin_sdh.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
davinci_mmc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
fsl_esdhc.c fsl_esdhc: fix PIO mode transfers 2012-01-08 21:28:28 -06:00
ftsdc010_esdhc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
gen_atmel_mci.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
Makefile iMX28: Add SSP MMC driver 2011-11-11 11:36:56 +01:00
mmc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
mmc_spi.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
mv_sdhci.c drivers/mmc/mv_sdhci.c: Fix build warning 2012-01-08 21:28:16 -06:00
mxcmmc.c mmc: access mxcmmc from mx31 boards 2012-02-12 10:11:26 +01:00
mxsmmc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
omap_hsmmc.c omap_hsmmc: Wait for CMDI to be clear 2012-02-15 17:42:22 -06:00
pxa_mmc.c PXA: Kill last remnants of set_GPIO_mode function 2011-12-19 17:52:44 +01:00
pxa_mmc.h pxa: move mmc drivers to drivers/mmc 2009-02-20 03:47:50 +01:00
pxa_mmc_gen.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
s5p_mmc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
sdhci.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
sh_mmcif.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
sh_mmcif.h mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
tegra2_mmc.c tegra: mmc: Support operation with dcache enabled 2012-02-12 10:11:22 +01:00
tegra2_mmc.h tegra2: Move tegra2_mmc_init() prototype to public header. 2011-12-24 10:23:31 +01:00