[PATCH] lib: fdtdec: Parse the gzip/lzo headers only when dependencies have met

Tom Rini trini at konsulko.com
Fri Oct 18 03:57:38 CEST 2024


On Tue, 01 Oct 2024 10:56:47 +0100, Prabhakar wrote:

> It might happen that CONFIG_GZIP and CONFIG_LZO are enabled but we might
> have CONFIG_MULTI_DTB_FIT_LZO enabled in this case in the code path of
> uncompress_blob() we parse the gzip headers first which results in
> `Error: Bad gzipped data` being printed. To avoid this parse the gzip/lzo
> headers only when dependencies have met.
> 
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list