diff options
author | Matt Delco <delco@google.com> | 2019-03-05 16:54:23 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-20 19:51:15 -0700 |
commit | 90a95ea62ade991769540f4a0c0e6465f3b3926c (patch) | |
tree | 2d62b8912e7688c96aea4f9bdd1b4779377b729a /utility | |
parent | 7a748886003bad0a8971ca17d23f6641bc05bf59 (diff) | |
download | vboot-90a95ea62ade991769540f4a0c0e6465f3b3926c.tar.gz |
firmware: allocate nvram bit for diagnostic mode
This change allocates a bit in the nvram that will be used
in a later change to tell the firmware whether to detour
to diagnostic mode during boot.
BUG=b:124358784
BRANCH=None
TEST=Local build and ran "make runtests". Verified with a later
change that the nvram bit takes effect as expected.
Change-Id: If2fd3f46da30fc7375d37b240e3e745819ae0632
Signed-off-by: Matt Delco <delco@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1504758
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'utility')
-rw-r--r-- | utility/crossystem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utility/crossystem.c b/utility/crossystem.c index de479486..68e3f510 100644 --- a/utility/crossystem.c +++ b/utility/crossystem.c @@ -51,6 +51,7 @@ const Param sys_param_list[] = { {"dev_enable_udc", CAN_WRITE, "Enable USB Device Controller"}, {"devsw_boot", 0, "Developer switch position at boot"}, {"devsw_cur", 0, "Developer switch current position"}, + {"diagnostic_request", CAN_WRITE, "Request diagnostic rom run on next boot"}, {"disable_alt_os_request", CAN_WRITE, "Disable Alt OS mode on next boot (writable)"}, {"disable_dev_request", CAN_WRITE, "Disable virtual dev-mode on next boot"}, |