forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
u-boot/include/android_image.h
....@@ -13,8 +13,10 @@
1313
1414 #define ANDROID_PARTITION_BOOT "boot"
1515 #define ANDROID_PARTITION_VENDOR_BOOT "vendor_boot"
16
+#define ANDROID_PARTITION_INIT_BOOT "init_boot"
1617 #define ANDROID_PARTITION_MISC "misc"
1718 #define ANDROID_PARTITION_OEM "oem"
19
+#define ANDROID_PARTITION_RESOURCE "resource"
1820 #define ANDROID_PARTITION_RECOVERY "recovery"
1921 #define ANDROID_PARTITION_SYSTEM "system"
2022 #define ANDROID_PARTITION_VBMETA "vbmeta"
....@@ -117,7 +119,6 @@
117119 * we have to partly merge fields from boot_img_hdr_v34 and vendor_boot_img_hdr_v34
118120 * into this structure to compatible with boot_img_hdr_v012.
119121 */
120
- u32 boot_ramdisk_size; /* size in bytes */
121122 u32 vendor_ramdisk_size; /* size in bytes */
122123 u32 vendor_page_size;
123124 u32 vendor_header_version;
....@@ -135,6 +136,9 @@
135136 u32 vendor_ramdisk_table_entry_size;
136137 u32 vendor_bootconfig_size; /* size in bytes for bootconfig image */
137138
139
+ void *init_boot_buf;
140
+ void *vendor_boot_buf;
141
+
138142 /*
139143 * Don't define 'char total_cmdline[TOTAL_BOOT_ARGS_SIZE]' to avoid
140144 * this structrue is over size than page_size.