summaryrefslogtreecommitdiff
path: root/firmware/linktest/main.c
diff options
context:
space:
mode:
authorGaurav Shah <gauravsh@chromium.org>2011-03-15 16:36:29 -0700
committerGaurav Shah <gauravsh@chromium.org>2011-03-15 16:36:29 -0700
commitb64faaa7f4167344765eb32baebb0aa01a03bc29 (patch)
tree22831f297ab859e0a4c31500fb0685f6933cf74b /firmware/linktest/main.c
parent55db6a67176a4933427d2ee556180f6e814f60d9 (diff)
downloadvboot-b64faaa7f4167344765eb32baebb0aa01a03bc29.tar.gz
Update PCR state with the state of the firmware keyblock flags too.
I re-factored the extend call into its own module, since it doesn't necessarily need to be couple with rollbackfirmwaresetup. BUG=chrome-os-partner:2372 TEST=Tried emerge-x86-generic and emerge-arm-generic vboot_reference. Change-Id: I0d3115b10b686133e63e304570325ebdbd50ae3a Review URL: http://codereview.chromium.org/6696006
Diffstat (limited to 'firmware/linktest/main.c')
-rw-r--r--firmware/linktest/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/linktest/main.c b/firmware/linktest/main.c
index 6f5b83e4..16c4bf50 100644
--- a/firmware/linktest/main.c
+++ b/firmware/linktest/main.c
@@ -8,6 +8,7 @@
#include "load_kernel_fw.h"
#include "rollback_index.h"
#include "tlcl.h"
+#include "tpm_bootmode.h"
#include "vboot_common.h"
#include "vboot_kernel.h"
#include "vboot_nvstorage.h"
@@ -37,6 +38,9 @@ int main(void)
RollbackKernelWrite(0);
RollbackKernelLock();
+ /* tpm_bootmode.c */
+ SetTPMBootModeState(0, 0, 0);
+
/* tlcl.h */
TlclLibInit();
TlclCloseDevice();