Index: firmware/linktest/main.c |
diff --git a/firmware/linktest/main.c b/firmware/linktest/main.c |
index 6f5b83e4394ca89c6b273a7e3627bc8a9136b6c3..a3ed21a5e1491ed3082ca34b048ad5ccc3fb60ef 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" |
@@ -30,6 +31,7 @@ int main(void) |
/* rollback_index.h */ |
RollbackS3Resume(); |
RollbackFirmwareSetup(0, 0); |
+ RollbackFirmwareRead(0); |
RollbackFirmwareWrite(0); |
RollbackFirmwareLock(); |
RollbackKernelRecovery(0); |
@@ -37,6 +39,9 @@ int main(void) |
RollbackKernelWrite(0); |
RollbackKernelLock(); |
+ /* tpm_bootmode.c */ |
+ SetTPMBootModeState(0, 0, 0); |
+ |
/* tlcl.h */ |
TlclLibInit(); |
TlclCloseDevice(); |