diff --git a/board/nautilus/board.c b/board/nautilus/board.c index f6b923e117..a557197b5c 100644 --- a/board/nautilus/board.c +++ b/board/nautilus/board.c @@ -748,3 +748,15 @@ static void board_chipset_shutdown(void) gpio_set_level(GPIO_ENABLE_TOUCHPAD, 0); } DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, board_chipset_shutdown, HOOK_PRIO_DEFAULT); + +int board_has_working_reset_flags(void) +{ + int version = system_get_board_version(); + + /* Boards Rev1 and Rev2 will lose reset flags on power cycle. */ + if ((version == 1) || (version == 2)) + return 0; + + /* All other board versions should have working reset flags */ + return 1; +}