[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/ab_bootinfo/ab_bootinfo.c b/ap/app/ab_bootinfo/ab_bootinfo.c
new file mode 100644
index 0000000..446cc02
--- /dev/null
+++ b/ap/app/ab_bootinfo/ab_bootinfo.c
@@ -0,0 +1,22 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include "upi_public.h"
+
+int main(int argc, char *argv[])
+{
+ int ret = upi_get_current_system();
+
+ switch (ret)
+ {
+ case 1:
+ printf("ab_bootinfo:ab_a\n");
+ break;
+ case 2:
+ printf("ab_bootinfo:ab_b\n");
+ break;
+ default:
+ printf("[error]ab_bootinfo:%d\n", ret);
+ break;
+ }
+ return ret;
+}
\ No newline at end of file