struct ZSTD_DCtx_s, the zstd workspace, has a size of 161320 bytes, which is more than our early malloc pool of 128K can allocate. Double the pool size, so we can uncompress a zstd barebox proper in PBL. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/arm/include/asm/barebox-arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h index 8240cce9bf5b..8795c89d515b 100644 --- a/arch/arm/include/asm/barebox-arm.h +++ b/arch/arm/include/asm/barebox-arm.h @@ -125,7 +125,7 @@ static inline unsigned long arm_mem_ttb(unsigned long membase, static inline unsigned long arm_mem_early_malloc(unsigned long membase, unsigned long endmem) { - return arm_mem_ttb(membase, endmem) - SZ_128K; + return arm_mem_ttb(membase, endmem) - SZ_256K; } static inline unsigned long arm_mem_early_malloc_end(unsigned long membase, -- 2.30.2