]> git.dujemihanovic.xyz Git - u-boot.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)
commitb75ca26b227a6fef9d5fffb9738655cbcbd8379b
treea5b2084b1e5cef41efea6564614a00e663e15681
parent9787ecfd0d8fbfd1835a8afe4fe815cad7e7e46b
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