[Feature][ZXW-179]merge P52U02 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: I4fa8f86757e71388ae88400914dae8b50cd00338
diff --git a/pub/include/infra/pub_flags.h b/pub/include/infra/pub_flags.h
index 444a200..107cc5f 100755
--- a/pub/include/infra/pub_flags.h
+++ b/pub/include/infra/pub_flags.h
@@ -34,6 +34,8 @@
 #define	DUALSYSTEM_STATUS_SUCCESSFUL	(0x5CCF)	/* Äܳɹ¦Æô¶¯ */
 #define	DUALSYSTEM_STATUS_UNBOOTABLE	(0xBABE)	/* ²»¿ÉÆô¶¯ */
 
+#define OTA_PARTITION_NUM_MAX 15
+
 
 /*******************************************************************************
  *                             Type definitions                                *
@@ -85,6 +87,11 @@
 	char fs_ubi_vol_name[16];
 } T_UBIFS_STATUS;
 
+typedef struct {
+    int mtdnum;
+    unsigned int len;
+} T_AA_PARTITION_INFO;
+
 typedef struct
 {
 	unsigned int magic_start;  /* Êý¾ÝÓÐЧÐÔħÊõ×Ö */
@@ -93,7 +100,10 @@
     T_BOOT_ENV 			boot_env;
 	T_UBIFS_STATUS		ubifs_status;
 	unsigned int        nvro_flag;
-	char reserve[180];
+	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 magic_end;  /* Êý¾ÝÓÐЧÐÔħÊõ×Ö */
 } T_FLAGS_INFO;