summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-01-11 19:30:42 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-03-07 17:18:15 +0000
commitba5ae5bf2097c3ba97634b97f445f823547645f2 (patch)
treed7e98f2fed8fd855084454d962d56558024c41fa
parentfdd35647652be1ea41ad8c4993619dae042c61c0 (diff)
vboot: rename VB2_DISABLE_DEVELOPER_MODE
Rename VB2_DISABLE_DEVELOPER_MODE to VB2_CONTEXT_DISABLE_DEVELOPER_MODE. See CL in CQ-DEPEND for details. BUG=b:124141368 TEST=Build locally CQ-DEPEND=CL:1460645 BRANCH=none Change-Id: Ib9754425dc2f346e8edac584c4d076d13ae31d2d Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31298 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--src/security/vboot/vboot_logic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c
index 8c3ba80da0..7ab9824843 100644
--- a/src/security/vboot/vboot_logic.c
+++ b/src/security/vboot/vboot_logic.c
@@ -331,7 +331,7 @@ void verstage_main(void)
if (get_recovery_mode_switch()) {
ctx.flags |= VB2_CONTEXT_FORCE_RECOVERY_MODE;
if (IS_ENABLED(CONFIG_VBOOT_DISABLE_DEV_ON_RECOVERY))
- ctx.flags |= VB2_DISABLE_DEVELOPER_MODE;
+ ctx.flags |= VB2_CONTEXT_DISABLE_DEVELOPER_MODE;
}
if (IS_ENABLED(CONFIG_VBOOT_WIPEOUT_SUPPORTED) &&