u-boot/arch
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 omap_hsmmc: Wait for CMDI to be clear 2012-02-15 17:42:22 -06:00
avr32 Merge branch 'next' of ../next 2011-12-23 20:53:58 +01:00
blackfin Blackfin: cache result of cpp check 2011-11-18 22:13:26 -05:00
m68k m68k: fix ambiguous bit testing 2011-12-05 21:55:25 +01:00
microblaze microblaze: Fix strict-aliasing rules for in_be32 2011-10-24 07:57:03 +02:00
mips arch/mips/lib/board.c: Fix GCC 4.6 build warning 2011-12-08 21:01:15 +01:00
nds32 nds32/ag101: clean up for SoC related code 2011-11-23 14:05:51 +08:00
nios2 nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet(). 2011-10-30 21:02:43 +08:00
openrisc openrisc: Add library functions 2012-01-13 21:16:48 +01:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2012-01-13 20:38:49 +01:00
sandbox sandbox: fix compiling of cpu/os.c 2011-12-10 17:56:37 -05:00
sh Coding Style cleanup 2011-12-19 12:03:40 +01:00
sparc sparc: fix unused variable warnings 2011-12-05 21:55:24 +01:00
x86 x86: Add support for specifying an initrd with the zboot command 2011-12-19 13:26:17 +11:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00