From 9df731a176aab8e03b984b681b1bea01ccff6644 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 06 Nov 2023 07:23:06 +0000 Subject: [PATCH] rk3568 rt uboot init --- u-boot/include/android_image.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/u-boot/include/android_image.h b/u-boot/include/android_image.h index 8af0998..8ebd10d 100644 --- a/u-boot/include/android_image.h +++ b/u-boot/include/android_image.h @@ -13,8 +13,10 @@ #define ANDROID_PARTITION_BOOT "boot" #define ANDROID_PARTITION_VENDOR_BOOT "vendor_boot" +#define ANDROID_PARTITION_INIT_BOOT "init_boot" #define ANDROID_PARTITION_MISC "misc" #define ANDROID_PARTITION_OEM "oem" +#define ANDROID_PARTITION_RESOURCE "resource" #define ANDROID_PARTITION_RECOVERY "recovery" #define ANDROID_PARTITION_SYSTEM "system" #define ANDROID_PARTITION_VBMETA "vbmeta" @@ -117,7 +119,6 @@ * we have to partly merge fields from boot_img_hdr_v34 and vendor_boot_img_hdr_v34 * into this structure to compatible with boot_img_hdr_v012. */ - u32 boot_ramdisk_size; /* size in bytes */ u32 vendor_ramdisk_size; /* size in bytes */ u32 vendor_page_size; u32 vendor_header_version; @@ -135,6 +136,9 @@ u32 vendor_ramdisk_table_entry_size; u32 vendor_bootconfig_size; /* size in bytes for bootconfig image */ + void *init_boot_buf; + void *vendor_boot_buf; + /* * Don't define 'char total_cmdline[TOTAL_BOOT_ARGS_SIZE]' to avoid * this structrue is over size than page_size. -- Gitblit v1.6.2