[Feature][ZXW-88]merge P50 version

Only Configure: No
Affected branch: master
Affected module: unknown
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I34667719d9e0e7e29e8e4368848601cde0a48408
diff --git a/ap/app/ab_bootinfo/ab_bootinfo.c b/ap/app/ab_bootinfo/ab_bootinfo.c
old mode 100644
new mode 100755
index 3f1e0cf..0e23e36
--- a/ap/app/ab_bootinfo/ab_bootinfo.c
+++ b/ap/app/ab_bootinfo/ab_bootinfo.c
@@ -1,18 +1,19 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include "zxic_fota_ab_upgrade.h"
+#include "pub_flags.h"
+#include "flags_api.h"
 
 int main(int argc, char *argv[])
 {
-    int ret = zxic_dual_get_current_system(); 
+    int ret = flags_get_current_system();  
 
     switch (ret)
     {
-        case Z_DUAL_SYSTEM:
+        case DUAL_SYSTEM:
             printf("ab_bootinfo:ab_a\n");
             ret = 1;
             break;
-        case Z_DUAL_SYSTEM2:
+        case DUAL_SYSTEM2:
             printf("ab_bootinfo:ab_b\n");
             ret = 2;
             break;
@@ -22,4 +23,4 @@
             break;
     }
     return ret;
-}
\ No newline at end of file
+}