Hi Nora, On 2026-06-10T09:01:22, Nora Schiffer <[email protected]> wrote: > bootm: use CONFIG_SYS_BOOTM_LEN for IH_TYPE_KERNEL_NOLOAD decompression buffer > > CONFIG_SYS_BOOTM_LEN is passed to image_decomp(), so the same should be > used for the buffer allocation. Deriving a buffer size from the > compressed size if not possible, as the compression ratio may be > arbitrarily high for data with many repititions (for example ranges of > 0x00 or 0xff). > > Fixes: 69544c4fd8b1 ("bootm: Support kernel_noload with compression") > Signed-off-by: Nora Schiffer <[email protected]> > Reviewed-by: Tom Rini <[email protected]> > > boot/bootm.c | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass <[email protected]> Note typos: 'if not possible' should be 'is not possible' and 'repititions' should be 'repetitions'. Regards, Simon

