mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
a7778f8fbe
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> |
||
---|---|---|
.. | ||
am35x_def.h | ||
clocks.h | ||
clocks_omap3.h | ||
cpu.h | ||
dma.h | ||
dss.h | ||
ehci.h | ||
emac_defs.h | ||
emif4.h | ||
gpio.h | ||
i2c.h | ||
mem.h | ||
mmc_host_def.h | ||
mux.h | ||
omap3-regs.h | ||
omap3.h | ||
omap_gpmc.h | ||
sys_proto.h |