Add new API to use hal-board API 81/277381/6 accepted/tizen/unified/20220713.144434 submit/tizen/20220712.045951
authorSangYoun Kwak <sy.kwak@samsung.com>
Wed, 6 Jul 2022 04:26:55 +0000 (13:26 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Wed, 6 Jul 2022 08:36:50 +0000 (17:36 +0900)
Change-Id: Ia71b461ebb1b31f51ef058776e71d85581a19793
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
include/board-internal.h
src/board-internal.c

index d652d41..f8e029b 100644 (file)
@@ -12,6 +12,7 @@ int device_board_get_boot_reason(char *buffer, const int max_len);
 
 int device_board_switch_partition(char partition_ab);
 int device_board_clear_partition_ab_cloned(void);
+int device_board_get_partition_ab_cloned(int *cloned);
 int device_board_set_partition_status(char partition_ab, const char *status);
 
 #ifdef __cplusplus
index bd0aa50..01686b0 100644 (file)
@@ -50,6 +50,11 @@ int device_board_clear_partition_ab_cloned(void)
        return hal_device_board_clear_partition_ab_cloned();
 }
 
+int device_board_get_partition_ab_cloned(int *cloned)
+{
+       return hal_device_board_get_partition_ab_cloned(cloned);
+}
+
 int device_board_set_partition_status(char partition_ab, const char *status)
 {
        return hal_device_board_set_partition_status(partition_ab, status);