coreboot-kgpe-d16/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 device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
cardbus_device.c device/pci: Fix PCI accessor headers 2019-03-01 20:32:15 +00:00
cpu_device.c src/device: Get rid of device_t 2018-05-22 07:24:23 +00:00
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 device/pci: Fix PCI accessor headers 2019-03-01 20:32:15 +00:00
i2c.c Reinvent I2C ops 2017-08-18 15:33:45 +00:00
i2c_bus.c device/i2c_bus: allow i2c_bus and i2c_simple to coexist 2018-01-24 05:02:50 +00:00
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 device/pci_ops: Apply some symmetry in headers 2019-02-11 20:44:37 +00:00
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 device/pci: Fix PCI accessor headers 2019-03-01 20:32:15 +00:00
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 device/smbus_ops.c: Get rid of device_t 2018-05-04 10:17:08 +00:00
software_i2c.c software_i2c: Improve error behavior 2018-05-02 00:23:30 +00:00