[Feature][ZXW-241]merge P56U01 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I7985538dde6951dd824c36149bf9a1e3ca23c734
diff --git a/pub/include/infra/pub_flags.h b/pub/include/infra/pub_flags.h
index 5ec8b26..29db943 100755
--- a/pub/include/infra/pub_flags.h
+++ b/pub/include/infra/pub_flags.h
@@ -36,6 +36,9 @@
#define OTA_PARTITION_NUM_MAX 15
+#define IMG_NAME_LEN 16
+#define IMG_NUM_MAX 15
+
/*******************************************************************************
* Type definitions *
@@ -88,13 +91,21 @@
char fs_ubi_vol_name[16];
} T_UBIFS_STATUS;
-typedef struct {
+typedef struct
+{
int mtdnum;
unsigned int len;
} T_AA_PARTITION_INFO;
typedef struct
{
+ char name[IMG_NAME_LEN];
+ unsigned int size_a;
+ unsigned int size_b;
+} T_IMG_SIZE;
+
+typedef struct
+{
unsigned int magic_start; /* Êý¾ÝÓÐЧÐÔħÊõ×Ö */
T_BOOT_FOTA_FLAG boot_fota_flag;
@@ -104,9 +115,13 @@
unsigned int crc32;
T_BOOT_TARGET ota_system; /* Éý¼¶Ê±ÊÇϵͳA»¹ÊÇϵͳB */
T_AA_PARTITION_INFO ota_partiton_info[OTA_PARTITION_NUM_MAX]; /* ÈÝÄÉ×î¶à15¸öÉý¼¶·ÖÇøµÄimage¾µÏñ´óС */
- char reserve[52];
-
+ unsigned int poweron_time;
+ char reserve[48];
unsigned int magic_end; /* Êý¾ÝÓÐЧÐÔħÊõ×Ö */
+ T_IMG_SIZE img_size[IMG_NUM_MAX]; /* ±£´æÏµÍ³¾µÏñÎļþ´óС */
+ T_BOOT_TARGET sync_system; /* ͬ²½Ê±ÊÇϵͳA»¹ÊÇϵͳB */
+ unsigned int crc32_1;
+ int reserve2[292]; /* ±£ÁôÀ©Õ¹×Ö¶Î */
} T_FLAGS_INFO;