Index: firmware/lib/vboot_firmware.c |
diff --git a/firmware/lib/vboot_firmware.c b/firmware/lib/vboot_firmware.c |
index dd006f3a3173543dc4408edd6cf874865961451e..6c895e92303208458a4489220f405927273f188f 100644 |
--- a/firmware/lib/vboot_firmware.c |
+++ b/firmware/lib/vboot_firmware.c |
@@ -125,6 +125,7 @@ int LoadFirmware(LoadFirmwareParams* params) { |
goto LoadFirmwareExit; |
} |
shared->fw_version_tpm_start = tpm_version; |
+ shared->fw_version_tpm = tpm_version; |
VBPERFEND("VB_TPMI"); |
/* Read try-b count and decrement if necessary */ |
@@ -347,6 +348,7 @@ int LoadFirmware(LoadFirmwareParams* params) { |
recovery = VBNV_RECOVERY_RO_TPM_ERROR; |
goto LoadFirmwareExit; |
} |
+ shared->fw_version_tpm = (uint32_t)lowest_version; |
} |
/* Lock firmware versions in TPM */ |