[PATCH] image-fit: don't set compression if it can't be read

Tom Rini trini at konsulko.com
Fri Aug 26 23:11:33 CEST 2022


On Mon, Aug 15, 2022 at 12:38:27PM +0200, Daniel Golle wrote:

> fit_image_get_comp() should not set value -1 in case it can't read
> the compression node. Instead, leave the value untouched in that case
> as it can be absent and a default value previously defined by the
> caller of fit_image_get_comp() should be used.
> 
> As a result the warning message
> WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
> no longer shows if the compression node is actually absent.
> 
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

This causes most platforms to fail to build with an error such as:
https://source.denx.de/u-boot/u-boot/-/jobs/486959#L140

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220826/c190049f/attachment.sig>


More information about the U-Boot mailing list