u-boot-brain/drivers/mmc
Peng Fan 4683b22065 mmc:fsl_esdhc invalidate dcache before read
DCIMVAC is upgraded to DCCIMVAC for the individual processor
(Cortex-A7) that the DCIMVAC is executed on.

We should follow the linux dma follow. Before DMA read, first
invalidate dcache then after DMA read, invalidate dcache again.

With the DMA direction DMA_FROM_DEVICE, the dcache need be
invalidated again after the DMA completion. The reason is
that we need explicity make sure the dcache been invalidated
thus to get the DMA'ed memory correctly from the physical memory.
Any cache-line fill during the DMA operations such as the
pre-fetching can cause the DMA coherency issue, thus CPU get the stale data.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Signed-off-by: Jason Liu <r64343@freescale.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
2015-07-26 12:17:20 +02:00
..
arm_pl180_mmci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
bcm2835_sdhci.c mmc: bcm2835_sdhci: Restore original delay behavior 2015-06-25 17:04:37 -04:00
bfin_sdh.c mmc: set correct block size value in bfin sdh driver 2014-10-03 17:26:49 +03:00
davinci_mmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
dw_mmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
exynos_dw_mmc.c mmc: exynos dwmmc: check boot mode before init dwmmc 2015-02-23 19:49:22 +02:00
fsl_esdhc_spl.c driver: Add support of image load for MMC & SPI in SPL 2014-04-22 17:58:50 -07:00
fsl_esdhc.c mmc:fsl_esdhc invalidate dcache before read 2015-07-26 12:17:20 +02:00
ftsdc010_mci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
ftsdc021_sdhci.c mmc: add Faraday FTSDC021 SDHCI controller support 2013-12-08 14:23:05 +02:00
gen_atmel_mci.c MMC: atmel_mci: enable high speed mode support 2014-08-01 20:01:33 +03:00
Kconfig mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC 2015-01-19 16:24:25 +02:00
kona_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
Makefile x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
mmc_private.h mmc: fsl_esdhc: Add adapter card type identification support 2015-05-04 09:25:19 -07:00
mmc_spi.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mmc_write.c mmc_write.c: Make mmc_berase do 32bit safe 64bit math 2015-06-18 16:11:41 -04:00
mmc.c Merge git://git.denx.de/u-boot-mpc85xx 2015-05-05 14:57:23 -04:00
mv_sdhci.c mv_sdhci: fix warnings on 64-bit builds 2015-03-18 09:56:17 +02:00
mvebu_mmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
mxcmmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mxsmmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
omap_hsmmc.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
pci_mmc.c x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
pxa_mmc_gen.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
rpmb.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
s3c_sdi.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
s5p_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
sdhci.c mmc: sdhci.c: Add config option to use a fixed buffer for transfers 2015-07-10 14:54:05 +02:00
sh_mmcif.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00
sh_mmcif.h mmc: sh_mmcif: Add support rmobile 2014-12-05 11:16:22 +09:00
sh_sdhi.c mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC 2015-01-19 16:24:25 +02:00
socfpga_dw_mmc.c arm: socfpga: mmc: Pick the clock from clock manager 2014-10-06 17:46:49 +02:00
spear_sdhci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sunxi_mmc.c sunxi: mmc: Enable pull-up on card-detect gpio pin 2015-06-04 14:08:28 +02:00
tegra_mmc.c tegra: mmc: Set the removable flag correctly 2015-05-05 12:29:42 +03:00
zynq_sdhci.c mmc: remove the MMC_MODE_HC flag 2015-05-05 12:29:36 +03:00