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

Simon Glass
2023-01-27T00:58:35Z

On Thu, 26 Jan 2023 at 09:05, Safae Ouajih <souajih@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@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@chromium.org>