[Feature][ZXW-130]merge P50U02 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: I4f29ec5bb7c59385f23738d2b7ca84e67c100f69
diff --git a/pub/include/infra/pub_flags.h b/pub/include/infra/pub_flags.h
index 07fd7d0..444a200 100755
--- a/pub/include/infra/pub_flags.h
+++ b/pub/include/infra/pub_flags.h
@@ -50,6 +50,11 @@
DUAL_SYSTEM2 = 0x986B, /* µÚ¶þ¸öϵͳ */
} T_BOOT_TARGET;
+#define NVRO_INIT (0) /* initial state */
+#define NVRO_BACKED_UP (0xBACE) /* nvro backed up already */
+#define NVRO_RESTORING (0x2E20) /* nvro restoring */
+#define NVRO_INVALID (0xDEAD) /* nvro invalid */
+
/* ˫ϵͳÀàÐÍ */
typedef enum
{
@@ -87,8 +92,8 @@
T_BOOT_FOTA_FLAG boot_fota_flag;
T_BOOT_ENV boot_env;
T_UBIFS_STATUS ubifs_status;
-
- char reserve[184];
+ unsigned int nvro_flag;
+ char reserve[180];
unsigned int magic_end; /* Êý¾ÝÓÐЧÐÔħÊõ×Ö */
} T_FLAGS_INFO;