uboot-mediatek: no compression means IH_COMP_NONE

Treat missing compression node in FIT image as IH_COMP_NONE.
This is implicentely already happening in most places, but for now
was still triggering an annoying warning about initramfs compression
being obsolete despite compression note being absent.
Fix this.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2022-08-15 13:19:15 +02:00
parent 20eee0d6cb
commit 0a18456ffc
3 changed files with 120 additions and 1 deletions

View File

@@ -70,7 +70,7 @@
{
--- a/boot/image-fit.c
+++ b/boot/image-fit.c
@@ -1995,6 +1995,51 @@ static const char *fit_get_image_type_pr
@@ -1994,6 +1994,51 @@ static const char *fit_get_image_type_pr
return "unknown";
}