summaryrefslogtreecommitdiff
path: root/common/image-android.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-16 09:15:59 -0400
committerTom Rini <trini@konsulko.com>2021-07-16 09:15:59 -0400
commitc39946a2e2d062025c9fc8b34587dfdd45fd8703 (patch)
tree30326b7ad7ab94a6c936506636cf93d63b300384 /common/image-android.c
parentd0dab9336db08bf562dd7ded4a417efd8570cee7 (diff)
parent92cf458f8ad9410dedbedd41d048d26620ce5f12 (diff)
Merge branch '2021-07-15-assorted-fixes'
- Large number of Coverity reported issues addressed - m41t62 bugfix - Support more Android image compression formats - FIT + DTO bugfix
Diffstat (limited to 'common/image-android.c')
-rw-r--r--common/image-android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-android.c b/common/image-android.c
index d07b0e0f09b..1fbbbba1eb0 100644
--- a/common/image-android.c
+++ b/common/image-android.c
@@ -164,7 +164,7 @@ ulong android_image_get_kcomp(const struct andr_img_hdr *hdr)
else if (get_unaligned_le32(p) == LZ4F_MAGIC)
return IH_COMP_LZ4;
else
- return IH_COMP_NONE;
+ return image_decomp_type(p, sizeof(u32));
}
int android_image_get_ramdisk(const struct andr_img_hdr *hdr,