mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
9b3d1873c8
Currently when no expected completion condition occures in the mmc_send_cmd while loop that is waiting for a data transfer to complete the MMC driver just hangs. This patch adds an arbitrary 2 second timeout. If nothing we recognize occures within 2 seconds some diagnostic information is printed and we fail out. Signed-off-by: Anton Staaf <robotboy@chromium.org> Cc: Andy Fleming <afleming@gmail.com> Cc: Tom Warren <twarren@nvidia.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> |
||
---|---|---|
.. | ||
arm_pl180_mmci.c | ||
arm_pl180_mmci.h | ||
atmel_mci.c | ||
atmel_mci.h | ||
bfin_sdh.c | ||
davinci_mmc.c | ||
fsl_esdhc.c | ||
ftsdc010_esdhc.c | ||
gen_atmel_mci.c | ||
Makefile | ||
mmc.c | ||
mmc_spi.c | ||
mv_sdhci.c | ||
mxcmmc.c | ||
omap_hsmmc.c | ||
pxa_mmc.c | ||
pxa_mmc.h | ||
pxa_mmc_gen.c | ||
s5p_mmc.c | ||
sdhci.c | ||
sh_mmcif.c | ||
sh_mmcif.h | ||
tegra2_mmc.c | ||
tegra2_mmc.h |