On Mon, 15 Aug 2022 at 04:39, Daniel Golle <dan...@makrotopia.org> 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 <dan...@makrotopia.org> > --- > boot/bootm.c | 6 ++---- > boot/image-fit.c | 3 +-- > cmd/ximg.c | 7 ++----- > 3 files changed, 5 insertions(+), 11 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>