[PATCH v2 10/17] android: boot: update android_image_get_data to support v3,v4

Simon Glass sjg at chromium.org
Fri Jan 27 01:54:57 CET 2023


On Thu, 26 Jan 2023 at 09:05, Safae Ouajih <souajih at baylibre.com> wrote:
>
> Since boot image header version 3 and 4 introduced vendor boot image,
> the following functions are used to fill the generic android
> structure : andr_image_data:
>
>  - android_boot_image_v3_v4_parse_hdr()
>  - android_vendor_boot_image_v3_v4_parse_hdr()
>
> android_image_get_data() is then updated to support v3 and v4
>
> Signed-off-by: Safae Ouajih <souajih at baylibre.com>
> ---
>  boot/image-android.c    | 80 +++++++++++++++++++++++++++++++++++++++--
>  include/android_image.h |  3 ++
>  include/image.h         |  1 +
>  3 files changed, 81 insertions(+), 3 deletions(-)

Comments again, for struct and image.h

Otherwise:
Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list