summaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-03-25 14:50:02 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-03-26 01:13:41 +0000
commit52ec0758968d779e3bbacfa0ac988af0624fb274 (patch)
tree2a236c60a7de71134d2a95d76995a2bb42ab5f89 /utility
parent39392528f4988df03217f7b513e92ed62f5c3211 (diff)
downloadvboot-52ec0758968d779e3bbacfa0ac988af0624fb274.tar.gz
crossystem: provide a way to clear wipeout requeststabilize-6915.B
For test purposes it should be possible to clear the wipeout request raised by firmware. BRANCH=none BUG=chrome-os-partner:36059 TEST=verified that crossystem wipeout_request=0 changes the bit from 1 to 0, and wipeout_request=1 does not change it from 0 to 1. Change-Id: Ic45ec03ed3e40e6fee4244804b8c231ee88af95b Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/262466 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'utility')
-rw-r--r--utility/crossystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/crossystem.c b/utility/crossystem.c
index 3eaeaae0..57eab2fc 100644
--- a/utility/crossystem.c
+++ b/utility/crossystem.c
@@ -95,7 +95,7 @@ const Param sys_param_list[] = {
{"vdat_lkdebug", IS_STRING|NO_PRINT_ALL,
"LoadKernel() debug data (not in print-all)"},
{"vdat_timers", IS_STRING, "Timer values from VbSharedData"},
- {"wipeout_request", 0, "Firmware requested factory reset (wipeout)"},
+ {"wipeout_request", CAN_WRITE, "Firmware requested factory reset (wipeout)"},
{"wpsw_boot", 0, "Firmware write protect hardware switch position at boot"},
{"wpsw_cur", 0, "Firmware write protect hardware switch current position"},
/* Terminate with null name */