diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/2lib/2misc.c | 4 | ||||
-rw-r--r-- | firmware/2lib/include/2api.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/firmware/2lib/2misc.c b/firmware/2lib/2misc.c index 2f68639e..5d82fc03 100644 --- a/firmware/2lib/2misc.c +++ b/firmware/2lib/2misc.c @@ -258,10 +258,6 @@ int vb2_check_dev_switch(struct vb2_context *ctx) if (flags & VB2_SECDATA_FLAG_DEV_MODE) is_dev = 1; - /* Handle forcing dev mode via physical switch */ - if (ctx->flags & VB2_CONTEXT_FORCE_DEVELOPER_MODE) - is_dev = 1; - /* Check if GBB is forcing dev mode */ if (sd->gbb_flags & VB2_GBB_FLAG_FORCE_DEV_SWITCH_ON) is_dev = 1; diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h index 9bf67727..ac4b0587 100644 --- a/firmware/2lib/include/2api.h +++ b/firmware/2lib/include/2api.h @@ -78,6 +78,8 @@ enum vb2_context_flags { /* * Force developer mode enabled. Caller may set this flag when * initializing the context. + * + * Deprecated as part of chromium:942901. */ VB2_CONTEXT_FORCE_DEVELOPER_MODE = (1 << 5), |