coreboot-kgpe-d16/src
Julius Werner 6d9c131061 vboot: Change oprom checks to CONFIG_VBOOT, assert OPROM_MATTERS
Skipping display init on normal-mode boot is a vboot feature, not
specific to Chrome OS. Fix the code in display_init_required() and
pci_dev_init() to check CONFIG_VBOOT rather than CONFIG_CHROMEOS now
that the two aren't always the same anymore.

Also add a check to guarantee at compile time that
CONFIG_VBOOT_OPROM_MATTERS is enabled on all platforms that make a check
to this function (when CONFIG_VBOOT is also enabled). The whole display
skipping mechanism is based on the oprom_needed NVRAM flag, and skipping
display init without enabling the option to tell vboot that it needs to
pay attention to that flag would make the whole thing not work right.

Change-Id: I5d6421509bdcdaa61b78015af3fa6241fe75bb7f
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32112
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2019-04-02 13:08:43 +00:00
..
acpi
arch src: Use include <reset.h> when appropriate 2019-03-29 20:00:20 +00:00
commonlib Fix up remaining boolean uses of CONFIG_XXX to CONFIG(XXX) 2019-03-25 11:03:49 +00:00
console coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
cpu cpu/ti/am335x: Fix checkpatch warnings 2019-04-01 07:54:40 +00:00
device vboot: Change oprom checks to CONFIG_VBOOT, assert OPROM_MATTERS 2019-04-02 13:08:43 +00:00
drivers drivers/intel/fsp2_0: Use same stack with coreboot 2019-04-02 02:18:24 +00:00
ec src: Use include <reset.h> when appropriate 2019-03-29 20:00:20 +00:00
include assert: Make dead_code() work at link-time instead of compile-time 2019-04-01 07:57:00 +00:00
lib vboot: Change oprom checks to CONFIG_VBOOT, assert OPROM_MATTERS 2019-04-02 13:08:43 +00:00
mainboard mb/google/poppy/variants/nami: update sku_ids for Pantheon 2019-04-02 10:25:12 +00:00
northbridge vboot: Select CONFIG_VBOOT_OPROM_MATTERS in more cases 2019-04-01 07:56:48 +00:00
security vboot: Select CONFIG_VBOOT_OPROM_MATTERS in more cases 2019-04-01 07:56:48 +00:00
soc mediatek/mt8183: Fix RTC initialization flow 2019-04-02 10:25:42 +00:00
southbridge src: Use include <reset.h> when appropriate 2019-03-29 20:00:20 +00:00
superio src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
vendorcode chromeos: remove remaining dev switch references 2019-03-28 06:43:21 +00:00
Kconfig x86/smbios: Untangle system and board tables 2019-03-16 16:22:16 +00:00