]> git.baikalelectronics.ru Git - uboot.git/commit
android: boot: update android_image_get_data to support v3, v4
authorSafae Ouajih <souajih@baylibre.com>
Sun, 5 Feb 2023 23:50:12 +0000 (00:50 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Apr 2023 18:50:47 +0000 (14:50 -0400)
commit358e96e2e4e14d2351f1648e7d69975c6aa82f43
tree11ceb4ab2e89966431db20868b43dc272d9b8a03
parentdc0d792f4e5110b3f65402ecc134947ade06082a
android: boot: update android_image_get_data to support v3, v4

Since boot image header version 3 and 4 introduced vendor boot image,
use the following functions to fill the generic android
structure : andr_image_data:

 - android_boot_image_v3_v4_parse_hdr()
 - android_vendor_boot_image_v3_v4_parse_hdr()

Update android_image_get_data() to support v3 and v4

Signed-off-by: Safae Ouajih <souajih@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
boot/image-android.c
include/android_image.h
include/image.h