diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-02-02 15:36:43 +0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2015-02-04 21:53:31 +0800 |
commit | 13cdb96bc52b3079ba91a08c1704307e5598ee59 (patch) | |
tree | 0891a3e89e8b6bd9317453bbe61907818f8880f2 /drivers/spi | |
parent | 19d698109fd136586b292430989e0f6edb723db6 (diff) | |
download | u-boot-imx-13cdb96bc52b3079ba91a08c1704307e5598ee59.zip u-boot-imx-13cdb96bc52b3079ba91a08c1704307e5598ee59.tar.gz u-boot-imx-13cdb96bc52b3079ba91a08c1704307e5598ee59.tar.bz2 |
MLK-10178-8 mmc:fsl_esdhc fix dcache issue
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>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions