mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
Fix (unfiled, I think) TPM initialization bug.
Change-Id: Id083f73680dbb1edd9ba036659b57f77b16325ec BUG=none TEST=none TBR=rspangler@chromium.org
This commit is contained in:
@@ -136,7 +136,7 @@ static uint32_t OneTimeInitializeTPM(RollbackSpaceFirmware* rsf,
|
|||||||
|
|
||||||
/* Clear TPM owner, in case the TPM is already owned for some reason. */
|
/* Clear TPM owner, in case the TPM is already owned for some reason. */
|
||||||
VBDEBUG(("TPM: Clearing owner\n"));
|
VBDEBUG(("TPM: Clearing owner\n"));
|
||||||
RETURN_ON_FAILURE(TlclForceClear());
|
RETURN_ON_FAILURE(TPMClearAndReenable());
|
||||||
|
|
||||||
/* Initializes the firmware and kernel spaces */
|
/* Initializes the firmware and kernel spaces */
|
||||||
Memcpy(rsf, &rsf_init, sizeof(RollbackSpaceFirmware));
|
Memcpy(rsf, &rsf_init, sizeof(RollbackSpaceFirmware));
|
||||||
|
|||||||
Reference in New Issue
Block a user