summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/system.c b/common/system.c
index abf66315db..3a60207476 100644
--- a/common/system.c
+++ b/common/system.c
@@ -855,6 +855,11 @@ void system_common_pre_init(void)
}
}
+int system_is_manual_recovery(void)
+{
+ return host_is_event_set(EC_HOST_EVENT_KEYBOARD_RECOVERY);
+}
+
/**
* Handle a pending reboot command.
*/