boardctl.h: Add BOARDIOC_SOFTRESETCAUSE_ENTER_BOOTLOADER reset cause

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-04-01 19:21:38 +08:00 committed by hartmannathan
parent b43ca9fcdb
commit d3f659b854
1 changed files with 1 additions and 0 deletions

View File

@ -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,