summaryrefslogtreecommitdiff
path: root/src/vboot/vboot_handoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vboot/vboot_handoff.c')
-rw-r--r--src/vboot/vboot_handoff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vboot/vboot_handoff.c b/src/vboot/vboot_handoff.c
index b0bd04ca16..b732b3aaa8 100644
--- a/src/vboot/vboot_handoff.c
+++ b/src/vboot/vboot_handoff.c
@@ -153,6 +153,10 @@ void vboot_fill_handoff(void)
/* needed until we finish transtion to vboot2 for kernel verification */
fill_vboot_handoff(vh, sd);
+
+ /* Log the recovery mode switches if required, before clearing them. */
+ log_recovery_mode_switch();
+
/*
* The recovery mode switch is cleared (typically backed by EC) here
* to allow multiple queries to get_recovery_mode_switch() and have