]> Git Repo - J-u-boot.git/commit
common: bouncebuf: Permit passing custom alignment check function
authorMarek Vasut <[email protected]>
Sat, 4 Apr 2020 10:45:02 +0000 (12:45 +0200)
committerPeng Fan <[email protected]>
Wed, 22 Apr 2020 12:41:56 +0000 (20:41 +0800)
commit8074ffe335bad50ffcc3d70ed1d9f3e3ffde9149
tree016e4e1adaae8fa91b68d99a262606692f1b220b
parent453d21381bda4452937a6d3c648230805b528b9b
common: bouncebuf: Permit passing custom alignment check function

Add extended version of the bounce_buffer_start(), which permits passing in
a custom alignment checker function for the buffer. This is useful e.g. on
systems with various DMA restrictions and where the checker function might
be more complex than a simple CPU cache alignment check.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
common/bouncebuf.c
include/bouncebuf.h
This page took 0.035019 seconds and 4 git commands to generate.