u-boot/arch/arm/include/asm/arch-am33xx
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
..
clock.h ARM:AM33XX: Add clock definitions 2011-10-27 21:56:36 +02:00
clocks_am33xx.h ARM:AM33XX: Add clock definitions 2011-10-27 21:56:36 +02:00
common_def.h ARM: AM33XX: Add i2c support 2012-01-23 11:57:31 +01:00
cpu.h ARM: AM33XX: Add i2c support 2012-01-23 11:57:31 +01:00
ddr_defs.h ARM:AM33XX: Fix ddr and timer register offset 2012-01-16 08:40:11 +01:00
hardware.h ARM:AM33XX: Added support for AM33xx 2011-10-27 21:56:36 +02:00
i2c.h ARM: AM33XX: Add i2c support 2012-01-23 11:57:31 +01:00
mmc_host_def.h omap_hsmmc: Wait for CMDI to be clear 2012-02-15 17:42:22 -06:00
omap.h ARM:AM33XX: Add SPL support for AM335X EVM 2012-01-16 08:40:12 +01:00
sys_proto.h ARM:AM33XX: Add SPL support for AM335X EVM 2012-01-16 08:40:12 +01:00