]> git.baikalelectronics.ru Git - uboot.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)
commit2b849625aa0fa3d6f5a6f81ac7bfdba9159c2203
treeef7448600ab3a5283398dafd78ccffeceb557f17
parentff0947544cd171db58ec481ff062e08276fccf9d
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