coreboot-kgpe-d16/src/soc/intel/broadwell
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
..
acpi cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
bootblock arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00
include/soc soc/intel/broadwell: Clean up the bootflow 2019-05-14 23:22:51 +00:00
romstage soc/intel/broadwell: Clean up the bootflow 2019-05-14 23:22:51 +00:00
acpi.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
adsp.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
chip.c {northbridge, soc, southbridge}/intel: Make use of pci_dev_set_subsystem() 2019-03-21 16:18:05 +00:00
chip.h src: Add missing include <stdint.h> 2018-11-01 11:25:07 +00:00
cpu.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
cpu_info.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
ehci.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
elog.c soc/intel/broadwell: use common Intel ACPI hardware definitions 2016-07-15 08:32:49 +02:00
finalize.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
gpio.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
hda.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
igd.c vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
iobp.c arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00
Kconfig vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
lpc.c Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
Makefile.inc security/vboot: Add measured boot mode 2019-02-25 22:29:16 +00:00
me.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
me_status.c arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00
memmap.c arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00
minihd.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
monotonic_timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pch.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
pcie.c device/pciexp_device: Convert LTR non-snoop/snoop value into common macro 2019-03-27 04:39:48 +00:00
pei_data.c soc/intel/broadwell: Fix use of CONFIG_USBDEBUG 2019-03-22 20:26:44 +00:00
pmutil.c device/pci: Fix PCI accessor headers 2019-03-01 20:32:15 +00:00
ramstage.c Klocwork: Fix the Null pointer derefernce found by klocwork 2019-04-23 09:56:37 +00:00
refcode.c src: Get rid of duplicated includes 2018-11-16 09:50:03 +00:00
sata.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
serialio.c src: Drop unused 'include <device/pciexp.h>' 2019-03-16 11:46:38 +00:00
smbus.c soc/{amd,intel}: Remove needless '&' on function pointers 2019-01-23 14:42:59 +00:00
smbus_common.c soc: Remove useless include <device/pci_ids.h> 2018-12-19 05:20:49 +00:00
smi.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
smihandler.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
smmrelocate.c device/pci: Fix PCI accessor headers 2019-03-01 20:32:15 +00:00
spi.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
stage_cache.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
systemagent.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
tsc_freq.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
usb_debug.c arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00
xhci.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00