android: boot: rename andr_img_hdr -> andr_boot_img_hdr_v0
authorSafae Ouajih <souajih@baylibre.com>
Sun, 5 Feb 2023 23:50:03 +0000 (00:50 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Apr 2023 18:50:46 +0000 (14:50 -0400)
commitd71a732af45e2d3acef92649f4f7986a83175cf4
tree6f2b0f2fc33bfcc8fd56f5fd87f447c3bb5c570e
parent698c2bd364ce4122a0d0db82b5a8d842186b2fa4
android: boot: rename andr_img_hdr -> andr_boot_img_hdr_v0

Android introduced boot header version 3 or 4.
The header structure change with version 3 and 4 to support
the new updates such as:
- Introducing Vendor boot image: with a vendor ramdisk
- Bootconfig feature (v4)

Change andr_img_hdr struct name to maintain support for version v0,
v1 and v2 while introducing version 3 and 4.

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
boot/image-fdt.c
cmd/abootimg.c
drivers/fastboot/fb_mmc.c
include/android_image.h
include/image.h