1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-06 11:36:33 +01:00
Files
u-boot-megous/drivers
Masahiro Yamada 58d8ace12b 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>
2020-02-20 15:09:57 +08:00
..
2019-12-02 18:23:09 -05:00
2020-01-25 12:04:36 -05:00
2019-08-07 15:31:04 -04:00