[Feature][ZXW-65]merged P49 base code

Change-Id: I3e09c0c3d47483bc645f02310380ecb7fc6f4041
diff --git a/ap/app/ab_bootinfo/ab_bootinfo.c b/ap/app/ab_bootinfo/ab_bootinfo.c
index 446cc02..3f1e0cf 100644
--- a/ap/app/ab_bootinfo/ab_bootinfo.c
+++ b/ap/app/ab_bootinfo/ab_bootinfo.c
@@ -1,21 +1,24 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include "upi_public.h"
+#include "zxic_fota_ab_upgrade.h"
 
 int main(int argc, char *argv[])
 {
-    int ret = upi_get_current_system(); 
+    int ret = zxic_dual_get_current_system(); 
 
     switch (ret)
     {
-        case 1:
+        case Z_DUAL_SYSTEM:
             printf("ab_bootinfo:ab_a\n");
+            ret = 1;
             break;
-        case 2:
+        case Z_DUAL_SYSTEM2:
             printf("ab_bootinfo:ab_b\n");
+            ret = 2;
             break;
         default:
             printf("[error]ab_bootinfo:%d\n", ret);
+            ret = 1;
             break;
     }
     return ret;