blob: 446cc020f8a0de84f561c5d52d9c71d0c2c1e7a2 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001#include <stdio.h>
2#include <stdlib.h>
3#include "upi_public.h"
4
5int main(int argc, char *argv[])
6{
7 int ret = upi_get_current_system();
8
9 switch (ret)
10 {
11 case 1:
12 printf("ab_bootinfo:ab_a\n");
13 break;
14 case 2:
15 printf("ab_bootinfo:ab_b\n");
16 break;
17 default:
18 printf("[error]ab_bootinfo:%d\n", ret);
19 break;
20 }
21 return ret;
22}