u-boot/arch/arm/include/asm/arch-omap3
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
..
am35x_def.h AM35xx: add EMAC support 2011-12-06 23:59:36 +01:00
clocks.h OMAP3: Add support for DPLL5 (usbhost) 2011-04-27 19:38:09 +02:00
clocks_omap3.h AM3517: Changed default clock rate for AM3517 2012-02-12 10:11:31 +01:00
cpu.h omap3/emif4: fix registers definition 2011-10-27 21:56:36 +02:00
dma.h omap3: Add interface for omap3 DMA 2011-10-27 21:56:34 +02:00
dss.h OMAP3: Add DSS driver for OMAP3 2011-09-04 11:36:22 +02:00
ehci.h ehci-omap: Clean up added ehci-omap.c 2012-02-12 10:11:31 +01:00
emac_defs.h AM35xx: add EMAC support 2011-12-06 23:59:36 +01:00
emif4.h AM35x: Add support for EMIF4 2010-06-08 10:07:19 -05:00
gpio.h omap: fix gpio related build breaks 2011-09-04 11:33:36 +02:00
i2c.h ARMV7: Modify i2c driver for more reliable operation on OMAP4 2010-08-05 10:11:24 -04:00
mem.h ARMV7: Fix duplicate use of "b" parameter in ACTIM_CTRLA definition 2012-02-12 10:11:32 +01:00
mmc_host_def.h omap_hsmmc: Wait for CMDI to be clear 2012-02-15 17:42:22 -06:00
mux.h AM3517: move AM3517 specific mux defines to generic header 2011-12-06 23:59:36 +01:00
omap3-regs.h ARMV7: OMAP3: Add GPMC_CONFIGx register value definitions 2011-04-27 19:38:09 +02:00
omap3.h start.S: remove omap3 specific code from start.S 2011-12-06 23:59:34 +01:00
omap_gpmc.h OMAP3: Overo: Update GPMC timing for ethernet chip 2011-09-30 22:00:53 +02:00
sys_proto.h OMAP3+: Clock: Adding ehci clock enabling 2012-02-12 10:11:31 +01:00