]> git.baikalelectronics.ru Git - uboot.git/commit
common: bouncebuf: Use dma-mapping for cache ops
authorAndrew Davis <afd@ti.com>
Fri, 6 Jan 2023 18:02:50 +0000 (12:02 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jan 2023 17:51:27 +0000 (12:51 -0500)
commite294b9c5069be17a6605be0963bc868b4c1e0041
treea5b2084b1e5cef41efea6564614a00e663e15681
parent6ed15a05437b5cc182970a861670328f08006f85
common: bouncebuf: Use dma-mapping for cache ops

This matches how this would be done in Linux and these functions
do the alignment for us which makes the code look cleaner.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/bouncebuf.c