u-boot-brain/drivers/mmc
Marek Vasut 97ed12cedf MX28: MMC: Avoid DMA DCache race condition
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>
2012-09-06 14:17:55 +02:00
..
arm_pl180_mmci.c u8500: Separating mmc config parameters from driver 2012-09-01 14:58:20 +02:00
arm_pl180_mmci.h u8500: Separating mmc config parameters from driver 2012-09-01 14:58:20 +02:00
bfin_sdh.c Blackfin: bfin_sdh: drop dos part hardcode 2012-04-22 13:00:19 -04:00
davinci_mmc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
fsl_esdhc.c fsl_esdhc: Remove cache snooping for i.MX 2012-09-01 14:58:30 +02:00
ftsdc010_esdhc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
gen_atmel_mci.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
Makefile da850/omap-l138: Add support to read u-boot image from MMC/SD 2012-09-01 14:58:09 +02:00
mmc_spi.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
mmc.c SD/MMC: check the card status during erase operation 2012-07-13 17:04:50 -05:00
mv_sdhci.c drivers/mmc/mv_sdhci.c: Fix build warning 2012-01-08 21:28:16 -06:00
mxcmmc.c mmc: access mxcmmc from mx31 boards 2012-02-12 10:11:26 +01:00
mxsmmc.c MX28: MMC: Avoid DMA DCache race condition 2012-09-06 14:17:55 +02:00
omap_hsmmc.c Merge branch 'master' of git://git.denx.de/u-boot-arm 2012-05-20 21:31:26 +02:00
pxa_mmc_gen.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
pxa_mmc.c PXA: Kill last remnants of set_GPIO_mode function 2011-12-19 17:52:44 +01:00
pxa_mmc.h pxa: move mmc drivers to drivers/mmc 2009-02-20 03:47:50 +01:00
s5p_sdhci.c mmc: support the sdhci instead of s5p_mmc for samsung-soc 2012-05-08 18:02:22 -05:00
sdhci.c mmc: add the quirk to use the sdhci for samsung-soc 2012-05-08 18:02:22 -05:00
sh_mmcif.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
sh_mmcif.h mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
spl_mmc_load.c da850/omap-l138: Add support to read u-boot image from MMC/SD 2012-09-01 14:58:09 +02:00
tegra_mmc.c tegra20: rename tegra2 -> tegra20 2012-09-01 14:58:21 +02:00
tegra_mmc.h tegra20: rename tegra2 -> tegra20 2012-09-01 14:58:21 +02:00