diff options
Diffstat (limited to 'common/vboot/vboot.c')
-rw-r--r-- | common/vboot/vboot.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/vboot/vboot.c b/common/vboot/vboot.c index 38924f4b3e..9819c9c316 100644 --- a/common/vboot/vboot.c +++ b/common/vboot/vboot.c @@ -204,8 +204,11 @@ void vboot_main(void) return; } - if (is_manual_recovery()) { - CPRINTS("Manual recovery"); + if (is_manual_recovery() || + (system_get_reset_flags() & EC_RESET_FLAG_STAY_IN_RO)) { + if (is_manual_recovery()) + CPRINTS("Manual recovery"); + if (battery_is_present() || has_matrix_keyboard()) { show_power_shortage(); return; |