summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-03-18 17:59:26 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-04-01 04:01:15 -0700
commita8a24fef84417f7873c78ced8e190742ed7acf13 (patch)
tree160ea2149925fd5f8feae313a4ec1e00c50b42cd
parent522fd2a0af591c12e2089601c0aab4097cc749c1 (diff)
downloadvboot-a8a24fef84417f7873c78ced8e190742ed7acf13.tar.gz
vboot: mark VB2_CONTEXT_FORCE_DEVELOPER_MODE as deprecated
As part of chromium:942901, physical dev switch functionality is being deprecated. After CL:1541322 is merged, VB2_CONTEXT_FORCE_DEVELOPER_MODE will no longer be used, and can be renamed. (See: src/security/vboot/vboot_logic.c) BUG=b:124141368, b:124192753, chromium:942901 TEST=make clean && make runtests TEST=make clean && COV=1 make coverage && make coverage_html CQ-DEPEND=CL:1541322 BRANCH=none Change-Id: I3a401a59dc80cb42617a8f3a485d303aa3484c92 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/1526071 Commit-Ready: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org>
-rw-r--r--firmware/2lib/include/2api.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h
index ac4b0587..5edbc506 100644
--- a/firmware/2lib/include/2api.h
+++ b/firmware/2lib/include/2api.h
@@ -77,11 +77,12 @@ enum vb2_context_flags {
/*
* Force developer mode enabled. Caller may set this flag when
- * initializing the context.
+ * initializing the context. Previously used for forcing developer
+ * mode with physical dev switch.
*
* Deprecated as part of chromium:942901.
*/
- VB2_CONTEXT_FORCE_DEVELOPER_MODE = (1 << 5),
+ VB2_CONTEXT_DEPRECATED_FORCE_DEVELOPER_MODE = (1 << 5),
/* Using firmware slot B. If this flag is clear, using slot A. */
VB2_CONTEXT_FW_SLOT_B = (1 << 6),