summaryrefslogtreecommitdiff
path: root/src/security/vboot/vboot_loader.c
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-06-17 15:22:28 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-07-23 12:07:16 +0000
commit7b10debe2e757e978405d3c0cf446966140febb5 (patch)
tree9d8e9707ea4369b2e7984cc421d8abbbd88e5f9a /src/security/vboot/vboot_loader.c
parent452aaae601a56ad81e7ddf84cc83c8262d80ea73 (diff)
downloadcoreboot-7b10debe2e757e978405d3c0cf446966140febb5.tar.xz
vboot: relocate call to vboot_save_recovery_reason_vbnv
Relocate call to vboot_save_recovery_reason_vbnv and rename vb2_clear_recovery_reason_vbnv for consistency. BUG=b:124141368, b:124192753 TEST=make clean && make test-abuild BRANCH=none Change-Id: I111cc23cf3d4b16fdb058dd395ac17a97f23a53f Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33551 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/security/vboot/vboot_loader.c')
-rw-r--r--src/security/vboot/vboot_loader.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/security/vboot/vboot_loader.c b/src/security/vboot/vboot_loader.c
index af4a3fd880..3aac48d174 100644
--- a/src/security/vboot/vboot_loader.c
+++ b/src/security/vboot/vboot_loader.c
@@ -41,7 +41,6 @@ static void vboot_prepare(void)
/* Note: this path is not used for VBOOT_RETURN_FROM_VERSTAGE */
verstage_main();
car_set_var(vboot_executed, 1);
- vboot_save_recovery_reason_vbnv();
} else if (verstage_should_load()) {
struct cbfsf file;
struct prog verstage =