diff options
m--------- | 3rdparty/vboot | 0 | ||||
-rw-r--r-- | src/vendorcode/google/chromeos/vboot2/verstage.c | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/3rdparty/vboot b/3rdparty/vboot -Subproject 7dd3bd0fcf565901aacc512cd29cefe19291c2e +Subproject fbf631c845c08299f0bcbae3f311c5807d34c0d diff --git a/src/vendorcode/google/chromeos/vboot2/verstage.c b/src/vendorcode/google/chromeos/vboot2/verstage.c index 783d1b613b..2a2a9564db 100644 --- a/src/vendorcode/google/chromeos/vboot2/verstage.c +++ b/src/vendorcode/google/chromeos/vboot2/verstage.c @@ -270,6 +270,9 @@ void verstage_main(void) if (IS_ENABLED(CONFIG_WIPEOUT_SUPPORTED) && get_wipeout_mode_switch()) ctx.flags |= VB2_CONTEXT_FORCE_WIPEOUT_MODE; + if (IS_ENABLED(CONFIG_LID_SWITCH) && !get_lid_switch()) + ctx.flags |= VB2_CONTEXT_NOFAIL_BOOT; + /* Do early init (set up secdata and NVRAM, load GBB) */ printk(BIOS_INFO, "Phase 1\n"); rv = vb2api_fw_phase1(&ctx); |