[PATCH v4 2/2] image-fit: don't set compression if it can't be read
Tom Rini
trini at konsulko.com
Thu Sep 1 01:34:35 CEST 2022
On Sat, Aug 27, 2022 at 04:17:28AM +0100, 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>
Applied to u-boot/master, thanks!
--
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/20220831/3b230ec3/attachment.sig>
More information about the U-Boot
mailing list