Clarify comment in VbInit()

In recovery mode we ignore all TPM errors.

Just a comment change; no code change.

BUG=none
BRANCH=none
TEST=build vboot

Change-Id: I43ed89d0d38347b55e1f6e17b712814f9b972156
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47747
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
Randall Spangler
2013-04-10 10:37:57 -07:00
committed by ChromeBot
parent 20807b6158
commit 339b0ac9a0

View File

@@ -222,7 +222,8 @@ VbError_t VbInit(VbCommonParams *cparams, VbInitParams *iparams)
} }
} }
/* TPM setup succeeded. What did we learn? */ /* TPM setup succeeded, or we're in recovery mode and ignoring
* errors. What did we learn? */
shared->fw_version_tpm_start = tpm_version; shared->fw_version_tpm_start = tpm_version;
shared->fw_version_tpm = tpm_version; shared->fw_version_tpm = tpm_version;
if (is_hw_dev || (has_virt_dev_switch && is_virt_dev)) { if (is_hw_dev || (has_virt_dev_switch && is_virt_dev)) {