#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; | |
} |