Re: [PATCH] common: bouncebuf: Use dma-mapping for cache ops

2023-01-27 Thread Tom Rini
On Fri, Jan 06, 2023 at 12:02:50PM -0600, Andrew Davis wrote: > 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] common: bouncebuf: Use dma-mapping for cache ops

2023-01-06 Thread Simon Glass
On Fri, 6 Jan 2023 at 11:02, Andrew Davis wrote: > > 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 > --- > common/bouncebuf.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 d

[PATCH] common: bouncebuf: Use dma-mapping for cache ops

2023-01-06 Thread Andrew Davis
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 --- common/bouncebuf.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/common/bouncebuf.c b/common/bouncebuf.c