summaryrefslogtreecommitdiff
path: root/utility/crossystem_main.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2011-03-17 17:58:56 -0700
committerRandall Spangler <rspangler@chromium.org>2011-03-17 17:58:56 -0700
commit5ac39bfff0d9e2ad2c3e1fe9b3fd3f314b50a472 (patch)
treeb92352d8dfb4e721ec9127efdb142e77c182187b /utility/crossystem_main.c
parentf4ba19d81d4fefa0dba4efbdd57dc863138fde3a (diff)
downloadvboot-5ac39bfff0d9e2ad2c3e1fe9b3fd3f314b50a472.tar.gz
Add TPM version checking
Change-Id: Ic32b7bcf0bc5501e21dc84e79419a256d9b0d095 R=semenzato@chromium.org,reinauer@chromium.org BUG=chrome-os-partner:2832 TEST=manual crossystem tpm_fwver tpm_kernver On a debug system, this will return 0x00010001 0x00010001 Review URL: http://codereview.chromium.org/6685075
Diffstat (limited to 'utility/crossystem_main.c')
-rw-r--r--utility/crossystem_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utility/crossystem_main.c b/utility/crossystem_main.c
index fb842837..6f352ede 100644
--- a/utility/crossystem_main.c
+++ b/utility/crossystem_main.c
@@ -41,6 +41,8 @@ const Param sys_param_list[] = {
{"tried_fwb", 0, "Tried firmware B before A this boot"},
{"cros_debug", 0, "OS should allow debug features"},
{"vdat_flags", 0, "Flags from VbSharedData", "0x%08x"},
+ {"tpm_fwver", 0, "Firmware version stored in TPM", "0x%08x"},
+ {"tpm_kernver", 0, "Kernel version stored in TPM", "0x%08x"},
/* Read-only strings */
{"hwid", IS_STRING, "Hardware ID"},
{"fwid", IS_STRING, "Active firmware ID"},