mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
According to OMAP3 TRM, when the controller reports certain errors, driver must perform a software reset. This is done by setting a bit in SYSCTL and waiting it to clear: - SRC on command timeout (CTO) - SRD on data errors (DTO, DCRC and DEB) This fixes a problem seen on OMAP3 pandora board with some cards that won't work with a message printed multiple times: timedout waiting on cmd inhibit to clear Code loosely based on Linux omap_hsmmc driver. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Tested-by: Tom Rini <trini@ti.com> Tested-by: Pali Rohár <pali.rohar@gmail.com> |
||
|---|---|---|
| .. | ||
| arm_pl180_mmci.c | ||
| arm_pl180_mmci.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 | ||
| mxsmmc.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 | ||