summaryrefslogtreecommitdiff
path: root/common/vboot/efs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/vboot/efs2.c')
-rw-r--r--common/vboot/efs2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/vboot/efs2.c b/common/vboot/efs2.c
index 29ad42995f..3e949455fd 100644
--- a/common/vboot/efs2.c
+++ b/common/vboot/efs2.c
@@ -209,8 +209,11 @@ static void verify_and_jump(void)
enable_pd();
break;
case CR50_COMM_SUCCESS:
+ system_set_reset_flags(
+ system_get_reset_flags() | EC_RESET_FLAG_EFS);
rv = system_run_image_copy(EC_IMAGE_RW);
CPRINTS("Failed to jump (0x%x)", rv);
+ system_clear_reset_flags(EC_RESET_FLAG_EFS);
show_critical_error();
break;
default: