coreboot/src/device
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
..
dram device/dram/ddr3: Remove unused variable 2019-04-25 15:55:02 +00:00
oprom x86emu: add console.h header to fix compilation 2019-05-02 05:00:33 +00:00
azalia_device.c
cardbus_device.c
cpu_device.c
device.c Fix up remaining boolean uses of CONFIG_XXX to CONFIG(XXX) 2019-03-25 11:03:49 +00:00
device_const.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
device_util.c device: ignore NONE devices behind bridge 2019-05-07 16:05:27 +00:00
hypertransport.c
i2c.c
i2c_bus.c
Kconfig drivers/intel/gma: Make libgfxinit available w/o gfxinit 2019-03-27 08:30:40 +00:00
Makefile.inc device/pci: Rewrite PCI MMCONF with symbol reference 2019-04-07 02:31:36 +00:00
pci_class.c src: Drop unused 'include <device/pciexp.h>' 2019-03-16 11:46:38 +00:00
pci_device.c vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
pci_early.c
pci_ops.c device/pci: Rewrite PCI MMCONF with symbol reference 2019-04-07 02:31:36 +00:00
pci_rom.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
pciexp_device.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
pcix_device.c
pnp_device.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
root_device.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
smbus_ops.c
software_i2c.c