EricR Lai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32906
Change subject: vboot: init dispaly when recovery request ......................................................................
vboot: init dispaly when recovery request
Dispaly is required by recovery mode. Do init when recovery request by user.
BUG=b:133197727,b:133175864 TEST= enter recovery mode, checked the display shows up
Signed-off-by: Eric Lai ericr_lai@compal.corp-partner.google.com Change-Id: Id6ac611f51241373bca3e2b394a94dcd52d3fde7 --- M src/security/vboot/vboot_logic.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/32906/1
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c index 00347c3..68215fd 100644 --- a/src/security/vboot/vboot_logic.c +++ b/src/security/vboot/vboot_logic.c @@ -344,6 +344,10 @@ printk(BIOS_INFO, "Phase 1\n"); rv = vb2api_fw_phase1(&ctx);
+ /* If recovery mode, do initialize display */ + if (ctx.flags & VB2_CONTEXT_RECOVERY_MODE) + vboot_get_working_data()->flags |= VBOOT_WD_FLAG_DISPLAY_INIT; + if (rv) { /* * If vb2api_fw_phase1 fails, check for return value.