diff options
author | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-02-16 09:50:54 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-23 21:48:15 +0000 |
commit | d1fb655d0dbf4feb0117c02bcc4c4817c02118b1 (patch) | |
tree | b585f7a8f33e47c158476260fe4e55592d9e6cb1 /src/superio/nuvoton/nct6776/superio.c | |
parent | 65a444572e6fe5a972d78c6712607924d0b2ccd5 (diff) |
soc/amd/commmon/gfx: Generalize check for selective GOP init
Rather than explicitly checking for Recovery or Developer mode via
vboot, use display_init_required() so that vboot is not required, and
other instances where the display is needed pre-OS (such as when
applying a critical system update) are covered as well.
With this change, SoCs implementing selective GOP init will need to
select VBOOT_MUST_REQUEST_DISPLAY in order for display_init_required()
to not assert on compilation.
BUG=b:255812886
TEST=build/boot skyrim
Change-Id: Iac7e06863764a9f21c8a50fc19050cb5a6627df2
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73046
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/superio/nuvoton/nct6776/superio.c')
0 files changed, 0 insertions, 0 deletions