summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-03-27 03:09:21 -0500
committerMatt DeVillier <matt.devillier@gmail.com>2020-03-29 18:01:37 +0000
commit8107c81e0791897681a2269a2e324fe434713bf8 (patch)
tree65293305b8a005d1abb1aa4ca8f9f652772964b7
parentde349ed45c3276f68fe690d711f995bd6db0b752 (diff)
downloadcoreboot-8107c81e0791897681a2269a2e324fe434713bf8.tar.xz
src/device/Kconfig: Adjust Graphics init defaults
Adjust the defaults for Graphics Initialization so that the "best" option for a board is selected by default. Net effect is to select RUN_FSP_GOP over VGA_ROM_RUN in cases where the platform supports GOP init and the mainboard has a VBT file included. Test: run 'make menuconfig' and check default Display Init option for google/cyan, observe RUN_FSP_GOP is default. Change-Id: I2184dbdd943d035d1682b3ae7bd8d005221434b1 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39871 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/device/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index de33b04773..64f1693e99 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -67,6 +67,9 @@ choice
prompt "Graphics initialization"
default NO_GFX_INIT if VGA_BIOS && PAYLOAD_SEABIOS
default VGA_ROM_RUN if VGA_BIOS
+ default MAINBOARD_DO_NATIVE_VGA_INIT
+ default MAINBOARD_USE_LIBGFXINIT
+ default RUN_FSP_GOP if INTEL_GMA_ADD_VBT
config MAINBOARD_DO_NATIVE_VGA_INIT
bool "Use native graphics init"