mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
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>
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user