[U-Boot] [PATCH] omap_hsmmc: Wait for CMDI to be clear
Andreas Müller
schnitzeltony at googlemail.com
Tue Jan 31 10:22:23 CET 2012
On Mon, Jan 30, 2012 at 10:22 PM, Tom Rini <trini at ti.com> wrote:
> 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 at acm.org>
> Tested-by: Robert Nelson <robertcnelson at gmail.com>
> Signed-off-by: Tom Rini <trini at ti.com>
Tested-by: Andreas Müller <schnitzeltony at googlemail.com>
More information about the U-Boot
mailing list