]> Git Repo - J-u-boot.git/commit
image-fit: don't set compression if it can't be read
authorDaniel Golle <[email protected]>
Sat, 27 Aug 2022 03:17:28 +0000 (04:17 +0100)
committerTom Rini <[email protected]>
Wed, 31 Aug 2022 16:21:47 +0000 (12:21 -0400)
commit88de6c512758f9705a14965ab97f11b463f3fa7c
treecd6ef86f0f9e10a0d50d58a02f8ff514e96eb91c
parent0cd57f29e49a99135660a65d21da8e6b3d5cb52a
image-fit: don't set compression if it can't be read

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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
boot/bootm.c
boot/image-fit.c
cmd/ximg.c
This page took 0.036025 seconds and 4 git commands to generate.