diff options
author | Jan Kloetzke <jan.kloetzke@dspg.com> | 2012-02-05 22:29:12 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-02-15 17:42:22 -0600 |
commit | d617c426a6ef8d731da1936bca7649a1574d5420 (patch) | |
tree | 44cd0587b8624692b62b478279bce1f5948fdbaa /drivers/mmc/tegra2_mmc.c | |
parent | 93ad0d18c0ff1fb0a141bdfe66c76b7d4f922619 (diff) | |
download | u-boot-imx-d617c426a6ef8d731da1936bca7649a1574d5420.zip u-boot-imx-d617c426a6ef8d731da1936bca7649a1574d5420.tar.gz u-boot-imx-d617c426a6ef8d731da1936bca7649a1574d5420.tar.bz2 |
mmc: make mmc_send_status() more reliable
Align the card status polling with the Linux kernel and retry the
command at least five times. Also some cards apparently mishandle the
status bits, so make sure to check the card state too.
Signed-off-by: Jan Kloetzke <jan.kloetzke@dspg.com>
Cc: Andy Fleming <afleming@gmail.com>
Diffstat (limited to 'drivers/mmc/tegra2_mmc.c')
0 files changed, 0 insertions, 0 deletions