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

Unified Diff: vboot_firmware/lib/vboot_firmware.c

Issue 2792009: Fix normal/recovery mode, and RO firmware vs. RW firmware behavior. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: add a comment Created 10 years, 6 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
Index: vboot_firmware/lib/vboot_firmware.c
diff --git a/vboot_firmware/lib/vboot_firmware.c b/vboot_firmware/lib/vboot_firmware.c
index 9220550c4efa1674c4311bc854dda34b60532ad4..3e1f36c4bf40f9d77806a094cfa9678164e1f84e 100644
--- a/vboot_firmware/lib/vboot_firmware.c
+++ b/vboot_firmware/lib/vboot_firmware.c
@@ -40,7 +40,8 @@ int LoadFirmware2(LoadFirmwareParams* params) {
return LOAD_FIRMWARE_RECOVERY;
/* Initialize the TPM and read rollback indices. */
- if (0 != SetupTPM() )
+ /* TODO: fix SetupTPM parameter */
gauravsh 2010/06/14 10:57:53 fix parameter how?
+ if (0 != SetupTPM(0, 0) )
return LOAD_FIRMWARE_RECOVERY;
if (0 != GetStoredVersions(FIRMWARE_VERSIONS,
&tpm_key_version, &tpm_fw_version))

Powered by Google App Engine
This is Rietveld 408576698