summaryrefslogtreecommitdiff
path: root/include/configs/imx31_litekit.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-31 16:18:10 +0000
committerStefano Babic <sbabic@denx.de>2012-09-06 14:17:55 +0200
commit97ed12cedf9cd47ddc4553c3fa9f3e8f92cba8c3 (patch)
tree4dce75b62cf8142b0dc78ca45c3c5e51787a661d /include/configs/imx31_litekit.h
parente9f7eafd3cc932d5d6e7e8acd96d5f15679e4a86 (diff)
downloadu-boot-imx-97ed12cedf9cd47ddc4553c3fa9f3e8f92cba8c3.zip
u-boot-imx-97ed12cedf9cd47ddc4553c3fa9f3e8f92cba8c3.tar.gz
u-boot-imx-97ed12cedf9cd47ddc4553c3fa9f3e8f92cba8c3.tar.bz2
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>
Diffstat (limited to 'include/configs/imx31_litekit.h')
0 files changed, 0 insertions, 0 deletions