coreboot-kgpe-d16/src/security/vboot
Joel Kitching 807803afa2 vboot: remove OPROM-related code
As of CL:1605641, vboot2 code should be used for setting and
checking display init state.  Remove all vboot1 OPROM-related
code, and use the vboot2 display init code which has already
been added in previous commits.

coreboot should not be reading vboot NVRAM flags directly.
Remove the function vboot_wants_oprom(), and instead rely on
display_init_required(), which uses the
VBOOT_WD_FLAG_DISPLAY_INIT value stored in
vboot_working_data.flags, initialized during verstage.
Note that this means in the case of CONFIG_VBOOT=y, the return
value of display_init_required() can only be trusted after
verstage has been executed.  This should not be a problem
assuming that all display initialization occurs in ramstage.

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

Change-Id: Ic8f9dc5a3c7f1546a8fed82bde02be4d04568f8d
Signed-off-by: Joel Kitching <kitching@google.com>
Cq-Depend: chromium:1605641, chromium:1605525
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32723
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-05-15 17:50:08 +00:00
..
antirollback.h vboot: include vb2_sha.h when required 2019-05-09 06:32:44 +00:00
bootmode.c vboot: specify NEED_VB20_INTERNALS when needed 2019-04-29 12:24:17 +00:00
common.c src: Use include <reset.h> when appropriate 2019-03-29 20:00:20 +00:00
gbb.c vboot: remove use of GoogleBinaryBlockHeader 2019-05-06 12:40:31 +00:00
gbb.h vboot: remove use of GoogleBinaryBlockHeader 2019-05-06 12:40:31 +00:00
Kconfig vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
Makefile.inc security/vboot: Add measured boot mode 2019-02-25 22:29:16 +00:00
misc.h vboot: Turn vboot_logic_executed() into a static inline 2019-05-10 21:43:15 +00:00
mrc_cache_hash_tpm.c security/vboot: Add interface for FSP 2.0 mrc caching 2018-07-17 17:40:33 +00:00
secdata_mock.c security/tpm: Unify the coreboot TPM software stack 2018-06-04 20:33:07 +00:00
secdata_tpm.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
symbols.h security/tpm: Fix TCPA log feature 2019-03-07 12:47:01 +00:00
vbnv.c vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
vbnv.h vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
vbnv_cmos.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
vbnv_ec.c security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
vbnv_flash.c src: include <assert.h> when appropriate 2019-04-23 10:01:36 +00:00
vbnv_layout.h vboot: rename BOOT_OPROM_NEEDED to BOOT_DISPLAY_REQUEST 2019-05-15 17:49:24 +00:00
vboot_common.c vboot: remove use of VbInitParams 2019-05-09 06:31:57 +00:00
vboot_common.h vboot: remove use of VbInitParams 2019-05-09 06:31:57 +00:00
vboot_crtm.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
vboot_crtm.h src: Drop unused 'include <cbfs.h>' 2019-03-19 17:14:39 +00:00
vboot_handoff.c vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
vboot_loader.c vboot: Turn vboot_logic_executed() into a static inline 2019-05-10 21:43:15 +00:00
vboot_logic.c vboot: communicate display requirements with vb2api_fw_phase1 2019-05-09 06:32:26 +00:00
verstage.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00