Re: [PATCH] image: fit: Use stack allocation macro

2022-07-03 Thread Tom Rini
On Mon, Jun 20, 2022 at 04:31:17PM +0930, Joel Stanley wrote: > 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: b583

Re: [PATCH] image: fit: Use stack allocation macro

2022-06-20 Thread Sean Anderson
On 6/20/22 3:01 AM, Joel Stanley wrote: > 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:

RE: [PATCH] image: fit: Use stack allocation macro

2022-06-20 Thread ChiaWei Wang
Tested-by: Chia-Wei Wang Thanks for the fix. Driven by the same issue, We also sent another patch moving .BSS section into DRAM. You may also check it out and any feedback is appreciated. https://patchwork.ozlabs.org/project/uboot/patch/20220601082115.10799-1-chiawei_w...@aspeedtech.com/ Chiaw