mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![]() This patch prevents dcache-related problem. The problem manifested itself on the SPI driver, this is just a port to the MMC driver. The scenario is the same. In case an "mmc read" is issued to a buffer which was written right before it and data cache is enabled, the cache eviction might happen during the DMA transfer into the buffer, therefore corrupting the buffer. Clear any cache lines that might contain the buffer to prevent such issue. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de> |
||
---|---|---|
.. | ||
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_spi.c | ||
mmc.c | ||
mv_sdhci.c | ||
mxcmmc.c | ||
mxsmmc.c | ||
omap_hsmmc.c | ||
pxa_mmc_gen.c | ||
pxa_mmc.c | ||
pxa_mmc.h | ||
s5p_sdhci.c | ||
sdhci.c | ||
sh_mmcif.c | ||
sh_mmcif.h | ||
spl_mmc_load.c | ||
tegra_mmc.c | ||
tegra_mmc.h |