Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: src/platform/vboot_reference/vboot_firmware/linktest/main.c

Issue 2320001: Add missing TPM constant and fix test code. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/vboot_firmware/linktest/main.c
diff --git a/src/platform/vboot_reference/vboot_firmware/linktest/main.c b/src/platform/vboot_reference/vboot_firmware/linktest/main.c
index 518f763022b7cd0f3b240e4220186f42dd54f821..d6496b4153c13a5d1c15c776b87b41915e10aac2 100644
--- a/src/platform/vboot_reference/vboot_firmware/linktest/main.c
+++ b/src/platform/vboot_reference/vboot_firmware/linktest/main.c
@@ -38,7 +38,8 @@ int main(void)
SetupTPM();
GetStoredVersion(0);
WriteStoredVersion(0, 0);
- LockStoredVersion(0);
+ LockFirmwareVersions();
+ LockKernelVersionsByLockingPP();
// tlcl.h
TlclLibinit();
@@ -53,8 +54,8 @@ int main(void)
TlclSetNvLocked();
TlclIsOwned();
TlclForceClear();
- TlclPhysicalEnable();
- TlclPhysicalSetDeactivated(0);
+ TlclSetEnable();
+ TlclSetDeactivated(0);
TlclGetFlags(0, 0);
return 0;
« no previous file with comments | « src/platform/vboot_reference/vboot_firmware/lib/include/tss_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698