]> git.dujemihanovic.xyz Git - u-boot.git/commit
dma: Use dma-mapping for cache ops and sync after write
authorAndrew Davis <afd@ti.com>
Fri, 7 Oct 2022 17:11:11 +0000 (12:11 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 18 Oct 2022 17:40:40 +0000 (13:40 -0400)
commitc8d2fc75171465e19c8583a1ef266b3a7fe49281
treeef7448600ab3a5283398dafd78ccffeceb557f17
parentfc95f83ec9543efb32774efda9e4352df49b1132
dma: Use dma-mapping for cache ops and sync after write

The DMA'd memory area needs cleaned and invalidated after the DMA
write so that any stale cache lines do not mask new data.

Signed-off-by: Andrew Davis <afd@ti.com>
drivers/dma/dma-uclass.c