[PATCH] image: fit: Align hash output buffers

Tom Rini trini at konsulko.com
Mon Apr 11 22:15:15 CEST 2022


On Thu, Mar 24, 2022 at 11:26:11AM -0400, Sean Anderson wrote:

> Hardware-accelerated hash functions require that the input and output
> buffers be aligned to the minimum DMA alignment. memalign.h helpfully
> provides a macro just for this purpose. It doesn't exist on the host,
> but we don't need to be aligned there either.
> 
> Fixes: 5dfb521386 ("[new uImage] New uImage low-level API")
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220411/59d0ca93/attachment.sig>


More information about the U-Boot mailing list