diff options
author | Luigi Semenzato <semenzato@google.com> | 2010-07-08 12:12:12 -0700 |
---|---|---|
committer | Luigi Semenzato <semenzato@google.com> | 2010-07-08 12:12:12 -0700 |
commit | 416f681882d8a35fa4c7ad9245a9e544c3115670 (patch) | |
tree | a3bb46ed6083082cc374645854f3ba7b974562f2 /firmware/linktest/main.c | |
parent | 783e64e70e5e5fff6d374b6aaf1d0ccd68cb2404 (diff) | |
download | vboot-416f681882d8a35fa4c7ad9245a9e544c3115670.tar.gz |
This test sets the TPM to a each of a large amount of "interesting" initial states, and runs the firmware code at user level.
This code compiles and installs using a modified ebuild (which needs to be committed after this change).
Review URL: http://codereview.chromium.org/2857030
Diffstat (limited to 'firmware/linktest/main.c')
-rw-r--r-- | firmware/linktest/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/linktest/main.c b/firmware/linktest/main.c index 4696c2e6..5e900a96 100644 --- a/firmware/linktest/main.c +++ b/firmware/linktest/main.c @@ -35,6 +35,8 @@ int main(void) /* tlcl.h */ TlclLibInit(); + TlclCloseDevice(); + TlclOpenDevice(); TlclStartup(); TlclSelftestfull(); TlclContinueSelfTest(); @@ -48,6 +50,7 @@ int main(void) TlclIsOwned(); TlclForceClear(); TlclSetEnable(); + TlclClearEnable(); TlclSetDeactivated(0); TlclGetFlags(0, 0); |