From d3f659b85427401c334aea8f2c633516222f7982 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 1 Apr 2023 19:21:38 +0800 Subject: [PATCH] boardctl.h: Add BOARDIOC_SOFTRESETCAUSE_ENTER_BOOTLOADER reset cause Signed-off-by: Xiang Xiao --- include/sys/boardctl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h index 39bd2750ac..7801e6c6a2 100644 --- a/include/sys/boardctl.h +++ b/include/sys/boardctl.h @@ -434,6 +434,7 @@ enum boardioc_reset_cause_e enum boardioc_softreset_subreason_e { BOARDIOC_SOFTRESETCAUSE_USER_REBOOT = 0, + BOARDIOC_SOFTRESETCAUSE_ENTER_BOOTLOADER, BOARDIOC_SOFTRESETCAUSE_ENTER_RECOVERY, BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY, BOARDIOC_SOFTRESETCAUSE_PANIC,