diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index 5f11313d6f..c947d2a36c 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -196,6 +196,8 @@ typedef struct VbCommonParams { #define VB_INIT_OUT_ENABLE_OPROM 0x00000020 /* BIOS may be asked to boot something other than ChromeOS */ #define VB_INIT_OUT_ENABLE_ALTERNATE_OS 0x00000040 +/* Enable developer path. */ +#define VB_INIT_OUT_ENABLE_DEVELOPER 0x00000080 /* Data only used by VbInit() */ diff --git a/firmware/lib/vboot_api_init.c b/firmware/lib/vboot_api_init.c index 4c5eb642f5..8581d89864 100644 --- a/firmware/lib/vboot_api_init.c +++ b/firmware/lib/vboot_api_init.c @@ -197,7 +197,8 @@ VbError_t VbInit(VbCommonParams* cparams, VbInitParams* iparams) { } else if (is_dev) { /* Developer switch is on, so need to support dev mode */ - iparams->out_flags |= (VB_INIT_OUT_CLEAR_RAM | + iparams->out_flags |= (VB_INIT_OUT_ENABLE_DEVELOPER | + VB_INIT_OUT_CLEAR_RAM | VB_INIT_OUT_ENABLE_DISPLAY | VB_INIT_OUT_ENABLE_USB_STORAGE); /* ... which may or may not include custom OSes */