u-boot/arch/arm/include/asm/arch-omap5
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
..
clocks.h arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings 2011-12-06 23:59:40 +01:00
cpu.h omap5: Add minimal support for omap5430. 2011-11-15 22:25:50 +01:00
gpio.h omap5: Add minimal support for omap5430. 2011-11-15 22:25:50 +01:00
i2c.h omap5: Add minimal support for omap5430. 2011-11-15 22:25:50 +01:00
mmc_host_def.h omap_hsmmc: Wait for CMDI to be clear 2012-02-15 17:42:22 -06:00
mux_omap5.h omap5: Add minimal support for omap5430. 2011-11-15 22:25:50 +01:00
omap.h omap4/5: Add support for booting with CH. 2011-11-15 22:25:50 +01:00
sys_proto.h omap_rev_string: output to stdout 2012-01-16 08:40:13 +01:00