From d599e89d4d6d5dd051cb3fa532e1890a2482fc09 Mon Sep 17 00:00:00 2001 From: Martin L Roth Date: Wed, 1 Nov 2023 00:04:56 +0000 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78845 Reviewed-by: Julius Werner Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/security/vboot/vboot_logic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */