vboot: communicate display requirements with vb2api_fw_phase1
commit5923d67cfd07a950ffd435aa078167144366f7dc
authorJoel Kitching <kitching@google.com>
Fri, 12 Apr 2019 07:57:43 +0000 (12 15:57 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 9 May 2019 06:32:26 +0000 (9 06:32 +0000)
tree563864e4e6695fed281b043c5e630f9971ad5993
parent9e8cf3cc869ca70267b43ba4898a9dfa06b5a643
vboot: communicate display requirements with vb2api_fw_phase1

Input: tell vb2api_fw_phase1 if display unconditionally available
Output: vb2api_fw_phase1 may request coreboot to initialize
        display, if needed based on some internal request

Move setting the VBOOT_FLAG_DISPLAY_REQUESTED flag into
verstage_main.

BUG=b:124141368, b:124192753, chromium:948529
TEST=make clean && make test-abuild
BRANCH=none

Change-Id: I81c82c46303564b63b8a32e7f80beb9d891a4628
Cq-Depend: chromium:1564232
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32324
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
src/security/vboot/vboot_handoff.c
src/security/vboot/vboot_logic.c