summaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2015-01-30 16:46:34 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-31 04:32:38 +0000
commit65ce99b3e2c75bbb416b6edf78b5ea0d7f8c3a94 (patch)
treed4f82b66be03ba2cc739b0b74cf4c6ea570675ae /utility
parent190eefb3ff227a229396091eef9012ad69d956df (diff)
downloadvboot-65ce99b3e2c75bbb416b6edf78b5ea0d7f8c3a94.tar.gz
crossystem: Add fw_prev_tried and fw_prev_result to output values
CL:221230 added the new NVRAM fields fw_prev_tried and fw_prev_result. It also provided support in the crossystem library to decode these values, but it forgot to add them to the table of allowed crossystem options so they actually cannot be queried by the command line tool. Fix that since this information is useful to debug failures after updating. BRANCH=R41 BUG=chrome-os-partner:36183 TEST=make runtests VBOOT2=1. cros deployed onto Jerry and confirmed fw_prev_tried and fw_prev_result are correct. Change-Id: I8bad7266379d959f5370b7ebeefbbba939c5de06 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/245143 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'utility')
-rw-r--r--utility/crossystem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utility/crossystem.c b/utility/crossystem.c
index 5251f7d7..41ed8494 100644
--- a/utility/crossystem.c
+++ b/utility/crossystem.c
@@ -63,6 +63,8 @@ const Param sys_param_list[] = {
"Firmware to try next (vboot2,writable)"},
{"fw_result", IS_STRING|CAN_WRITE,
"Firmware result this boot (vboot2,writable)"},
+ {"fw_prev_tried", IS_STRING, "Firmware tried on previous boot (vboot2)"},
+ {"fw_prev_result", IS_STRING, "Firmware result of previous boot (vboot2)"},
{"hwid", IS_STRING, "Hardware ID"},
{"kern_nv", 0, "Non-volatile field for kernel use", "0x%08x"},
{"kernkey_vfy", IS_STRING, "Type of verification done on kernel key block"},