sd->fw_version represents the version of the *current* firmware, which is not necessarily the same as the one stored in the TPM (and may be 0 in recovery mode). Use the newly added sd->fw_version_secdata instead which contains a more correct value.
CQ-DEPEND=CL:244601 BRANCH=veyron BUG=chrome-os-partner:35941 TEST=Booted Jerry in recovery mode, confirmed crossystem tpm_fwver was corrent (and not 0).
Change-Id: I30f5998da5ac518d6fcb7a651eba4e1fabc14478
e319e48 vboot2: Fill vboot1 handoff with correct TPM firmware version
.../google/chromeos/vboot2/vboot_handoff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Upstream: review.coreboot.org