security/vboot: Add tpm return code to vboot fail call
Add the TPM return code to the vboot fail call to provide additional context. BUG=None TEST=builds Change-Id: Ib855c92d460d1e728718b688ff71cdc6e1d9a84a Signed-off-by: Jon Murphy <jpmurphy@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77944 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Van Patten <timvp@google.com>
This commit is contained in:
parent
a7c64d7465
commit
277db94ebb
|
@ -386,7 +386,7 @@ void verstage_main(void)
|
|||
rv = antirollback_lock_space_mrc_hash(MRC_REC_HASH_NV_INDEX);
|
||||
if (rv) {
|
||||
printk(BIOS_INFO, "Failed to lock rec hash space(%x)\n", rv);
|
||||
vboot_fail_and_reboot(ctx, VB2_RECOVERY_RO_TPM_REC_HASH_L_ERROR, 0);
|
||||
vboot_fail_and_reboot(ctx, VB2_RECOVERY_RO_TPM_REC_HASH_L_ERROR, rv);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue