summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-ivybridge/pei_data.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2020-02-14 16:40:26 +0900
committerPeng Fan <peng.fan@nxp.com>2020-02-20 15:09:57 +0800
commit58d8ace12be763351df37cdcf6fdfceb646fb4dd (patch)
tree14493161aee3ee512b98effd23fdc982d3f98891 /arch/x86/include/asm/arch-ivybridge/pei_data.h
parenta7b2b6cc0aa9294b570a3161a05c6ccf4c0b6e40 (diff)
mmc: sdhci: use dma_map_single() instead of flush_cache() before DMA
Currently, sdhci_prepare_dma() calls flush_cache() regardless of the DMA direction. Actually, cache invalidation is enough when reading data from the device. This is correctly handled by dma_map_single(), which mimics the DMA-API in Linux kernel. Drivers can be agnostic which cache operation occurs behind the scene. This commit also sanitizes the difference between the virtual address and the dma address. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/x86/include/asm/arch-ivybridge/pei_data.h')
0 files changed, 0 insertions, 0 deletions