commit | 447cc7a532037851c27385f2fd4d21690064bdb8 | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Mon Jun 20 16:31:17 2022 +0930 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 01 16:01:25 2022 -0400 |
tree | 4bf4fe415bec0ff55e76cf20a63eecca7e37d6a1 | |
parent | 232dab90139b3915246d337b1b15b4b9b1860e70 [diff] |
image: fit: Use stack allocation macro The documentation above the DEFINE_ALIGN_BUFFER says it's for use outside functions, but we're inside one. Instead use ALLOC_CACHE_ALIGN_BUFFER, the stack based macro, which also includes the cache alignment. Fixes: b583348ca8c8 ("image: fit: Align hash output buffers") Signed-off-by: Joel Stanley <joel@jms.id.au> Tested-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Sean Anderson <sean.anderson@seco.com>