Add new API to use hal-board API 08/274608/1
authorSangYoun Kwak <sy.kwak@samsung.com>
Tue, 3 May 2022 08:36:53 +0000 (17:36 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Tue, 3 May 2022 08:36:53 +0000 (17:36 +0900)
Change-Id: Ib1d2ebe9d489791187fb468f26815176e9ddfa34
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
include/board-internal.h
src/board-internal.c

index fe766ff..942fbfe 100644 (file)
@@ -12,6 +12,7 @@ int device_board_get_boot_reason(char *buffer, int len);
 
 int device_board_switch_partition(char partition_ab);
 int device_board_clear_partition_ab_cloned(void);
+int device_board_set_partition_status(char partition_ab, const char *status);
 
 #ifdef __cplusplus
 }
index 9ad778e..0e9e098 100644 (file)
@@ -49,3 +49,8 @@ int device_board_clear_partition_ab_cloned(void)
 {
        return hal_device_board_clear_partition_ab_cloned();
 }
+
+int device_board_set_partition_status(char partition_ab, const char *status)
+{
+       return hal_device_board_set_partition_status(partition_ab, status);
+}