summaryrefslogtreecommitdiff
path: root/firmware/linktest/main.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-05-17 13:26:05 -0700
committerGerrit <chrome-bot@google.com>2012-05-18 18:15:58 -0700
commitb75d8adcc01f08cf5a6d87b78aeb1d7cdfcd22af (patch)
tree9106f87dab43facc5a707df7ea4e604a30444641 /firmware/linktest/main.c
parente97760cec3a4e08f6b3b3266bfcb02137197a7a7 (diff)
downloadvboot-b75d8adcc01f08cf5a6d87b78aeb1d7cdfcd22af.tar.gz
Use virtual dev-mode switch when told to.factory-2338.B
If VbInit() is instructed to look at a virtual dev-mode switch, then it will use value contained in the TPM's firmware space instead of a hardware GPIO to determine if developer mode is enabled. This change just makes it look. It doesn't provide a way to actually set the value in the TPM. VbInit() isn't being told to look yet, either. Those changes are coming. BUG=chrome-os-partner:9706 TEST=none The usual sanity-check applies: make make runtests But to actually test that this stuff is working IRL requires special tweaks to other components and monitoring the serial debug output from both EC and CPU. We'll save the hands-on tests for when it's all done. Change-Id: Ie485ad2180224e192238bf2a5dbf95bbcb9130f9 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/23067 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/linktest/main.c')
-rw-r--r--firmware/linktest/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/linktest/main.c b/firmware/linktest/main.c
index af5d8d65..9c1cf346 100644
--- a/firmware/linktest/main.c
+++ b/firmware/linktest/main.c
@@ -29,7 +29,7 @@ int main(void)
/* rollback_index.h */
RollbackS3Resume();
- RollbackFirmwareSetup(0, 0, 0);
+ RollbackFirmwareSetup(0, 0, 0, 0);
RollbackFirmwareWrite(0);
RollbackFirmwareLock();
RollbackKernelRead(0);