summaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
authorMartin L Roth <gaumless@gmail.com>2023-11-01 00:04:56 +0000
committerMartin L Roth <gaumless@gmail.com>2023-11-01 01:08:05 +0000
commitd599e89d4d6d5dd051cb3fa532e1890a2482fc09 (patch)
treeca67c440ab9b4791af07f8dae52938f3192db6ca /src/security
parentf87e766b5a326f87a65cabec8f7c1bc8c06137e1 (diff)
Revert "vboot: Add catchall recovery reason for unspecified phase 4 errors"
This reverts commit 7499d9610016c4a89b722498885f196ed6d217aa. Reason for revert: coreboot build fails Change-Id: I8ef853d81ee9b1f18d36dfd82cdf687381ece2c6 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78845 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/vboot/vboot_logic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c
index 93a188cc7a..11983b9e1e 100644
--- a/src/security/vboot/vboot_logic.c
+++ b/src/security/vboot/vboot_logic.c
@@ -374,7 +374,7 @@ void verstage_main(void)
}
if (rv)
- vboot_fail_and_reboot(ctx, VB2_RECOVERY_FW_GET_FW_BODY, rv);
+ vboot_save_and_reboot(ctx, rv);
vboot_save_data(ctx);
/* Only extend PCRs once on boot. */