diff options
author | J. Richard Barnette <jrbarnette@chromium.org> | 2013-10-22 16:21:14 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-23 18:53:43 +0000 |
commit | 92cbd5d214e0f2f9a3d52db48dcdaaceb57993d4 (patch) | |
tree | f25471d88379056071aa16aed01368c3f05f5ae8 /utility | |
parent | d96b25d0c0a739d351b8f09b128782ca12b7b0e1 (diff) | |
download | vboot-92cbd5d214e0f2f9a3d52db48dcdaaceb57993d4.tar.gz |
Add a "debug_build" query to crossystem.
Querying "debug_build" allows the caller to determine whether the
image has requested debug, independent of the setting of the
dev_mode switch.
BUG=chromium:308678
BRANCH=none
TEST=use the new command option on both base and dev images
Change-Id: I369f26d75156f2e88d9f6f467efbf8f633e78bda
Reviewed-on: https://chromium-review.googlesource.com/174107
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Will Drewry <wad@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Diffstat (limited to 'utility')
-rw-r--r-- | utility/crossystem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utility/crossystem.c b/utility/crossystem.c index 91465002..d7007eeb 100644 --- a/utility/crossystem.c +++ b/utility/crossystem.c @@ -40,7 +40,7 @@ const Param sys_param_list[] = { {"cros_debug", 0, "OS should allow debug features"}, {"dbg_reset", CAN_WRITE, "Debug reset mode request (writable)"}, {"ddr_type", IS_STRING, "Type of DDR RAM"}, - {"disable_dev_request", CAN_WRITE, "Disable virtual dev-mode on next boot"}, + {"debug_build", 0, "OS image built for debug features"}, {"dev_boot_usb", CAN_WRITE, "Enable developer mode boot from USB/SD (writable)"}, {"dev_boot_legacy", CAN_WRITE, @@ -49,6 +49,7 @@ const Param sys_param_list[] = { "Enable developer mode boot only from official kernels (writable)"}, {"devsw_boot", 0, "Developer switch position at boot"}, {"devsw_cur", 0, "Developer switch current position"}, + {"disable_dev_request", CAN_WRITE, "Disable virtual dev-mode on next boot"}, {"ecfw_act", IS_STRING, "Active EC firmware"}, {"fmap_base", 0, "Main firmware flashmap physical address", "0x%08x"}, {"fwb_tries", CAN_WRITE, "Try firmware B count (writable)"}, |