summaryrefslogtreecommitdiff
path: root/include/android_image.h
diff options
context:
space:
mode:
authorSafae Ouajih <[email protected]>2023-02-06 00:50:03 +0100
committerTom Rini <[email protected]>2023-04-04 14:50:46 -0400
commitd71a732af45e2d3acef92649f4f7986a83175cf4 (patch)
tree6f2b0f2fc33bfcc8fd56f5fd87f447c3bb5c570e /include/android_image.h
parent698c2bd364ce4122a0d0db82b5a8d842186b2fa4 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Tested-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/android_image.h')
-rw-r--r--include/android_image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/android_image.h b/include/android_image.h
index 54d25af0684..2bdcab9122d 100644
--- a/include/android_image.h
+++ b/include/android_image.h
@@ -20,9 +20,9 @@
#define ANDR_BOOT_ARGS_SIZE 512
#define ANDR_BOOT_EXTRA_ARGS_SIZE 1024
-/* The bootloader expects the structure of andr_img_hdr with header
+/* The bootloader expects the structure of andr_boot_img_hdr_v0 with header
* version 0 to be as follows: */
-struct andr_img_hdr {
+struct andr_boot_img_hdr_v0 {
/* Must be ANDR_BOOT_MAGIC. */
char magic[ANDR_BOOT_MAGIC_SIZE];