u-boot-brain/arch/arm
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
..
cpu Changes to move hawkboard to the new spl infrastructure 2012-02-12 10:11:33 +01:00
include/asm omap_hsmmc: Wait for CMDI to be clear 2012-02-15 17:42:22 -06:00
lib davinci: add support for printing clock frequency 2012-02-12 10:11:32 +01:00
config.mk Reduce build times 2011-11-03 20:44:58 +01:00