.. | .. |
---|
13 | 13 | |
---|
14 | 14 | #define ANDROID_PARTITION_BOOT "boot" |
---|
15 | 15 | #define ANDROID_PARTITION_VENDOR_BOOT "vendor_boot" |
---|
| 16 | +#define ANDROID_PARTITION_INIT_BOOT "init_boot" |
---|
16 | 17 | #define ANDROID_PARTITION_MISC "misc" |
---|
17 | 18 | #define ANDROID_PARTITION_OEM "oem" |
---|
| 19 | +#define ANDROID_PARTITION_RESOURCE "resource" |
---|
18 | 20 | #define ANDROID_PARTITION_RECOVERY "recovery" |
---|
19 | 21 | #define ANDROID_PARTITION_SYSTEM "system" |
---|
20 | 22 | #define ANDROID_PARTITION_VBMETA "vbmeta" |
---|
.. | .. |
---|
117 | 119 | * we have to partly merge fields from boot_img_hdr_v34 and vendor_boot_img_hdr_v34 |
---|
118 | 120 | * into this structure to compatible with boot_img_hdr_v012. |
---|
119 | 121 | */ |
---|
120 | | - u32 boot_ramdisk_size; /* size in bytes */ |
---|
121 | 122 | u32 vendor_ramdisk_size; /* size in bytes */ |
---|
122 | 123 | u32 vendor_page_size; |
---|
123 | 124 | u32 vendor_header_version; |
---|
.. | .. |
---|
135 | 136 | u32 vendor_ramdisk_table_entry_size; |
---|
136 | 137 | u32 vendor_bootconfig_size; /* size in bytes for bootconfig image */ |
---|
137 | 138 | |
---|
| 139 | + void *init_boot_buf; |
---|
| 140 | + void *vendor_boot_buf; |
---|
| 141 | + |
---|
138 | 142 | /* |
---|
139 | 143 | * Don't define 'char total_cmdline[TOTAL_BOOT_ARGS_SIZE]' to avoid |
---|
140 | 144 | * this structrue is over size than page_size. |
---|