summaryrefslogtreecommitdiff
path: root/src/device/Kconfig
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2017-05-19 15:08:21 +0200
committerMartin Roth <martinroth@google.com>2017-06-02 18:35:41 +0200
commitce642f08b953dd752c5edeb1899b193c202d22fd (patch)
treed5452bfe430dc4426f188f96e7e4c863242d1bd1 /src/device/Kconfig
parent41807626e2eeae3077e5c366c2a7810f7ebba7f2 (diff)
Kconfig: Rework MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
* Rename it to HAVE_VGA_TEXT_FRAMEBUFFER. * Let drivers select it if they are in charge. * Don't select it on the mainboard level if a driver handles it. Change-Id: I2d9d09be9aa6d019e77460e69a245ad2d8cda4ea Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/19791 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 778ab88821..50d75c7b14 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -21,7 +21,7 @@ config MAINBOARD_HAS_NATIVE_VGA_INIT
bool
default n
-config MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
+config HAVE_VGA_TEXT_FRAMEBUFFER
bool
default n
@@ -47,7 +47,7 @@ config MAINBOARD_USE_LIBGFXINIT
bool "Use libgfxinit for native graphics initialization"
depends on MAINBOARD_DO_NATIVE_VGA_INIT
depends on MAINBOARD_HAS_LIBGFXINIT
- select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
+ select HAVE_VGA_TEXT_FRAMEBUFFER
select RAMSTAGE_LIBHWBASE
select VGA if !FRAMEBUFFER_KEEP_VESA_MODE
select NO_EDID_FILL_FB
@@ -62,6 +62,7 @@ config VGA_ROM_RUN
default n if PAYLOAD_SEABIOS
default y if !PAYLOAD_SEABIOS
depends on PCI && !MAINBOARD_DO_NATIVE_VGA_INIT
+ select HAVE_VGA_TEXT_FRAMEBUFFER
help
Execute VGA Option ROMs in coreboot if found. This is required
to enable PCI/AGP/PCI-E video cards when not using a SeaBIOS
@@ -526,7 +527,7 @@ config FRAMEBUFFER_VESA_MODE
config FRAMEBUFFER_KEEP_VESA_MODE
prompt "Keep VESA framebuffer"
bool
- depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE || (MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG && MAINBOARD_DO_NATIVE_VGA_INIT)
+ depends on HAVE_VGA_TEXT_FRAMEBUFFER
help
This option keeps the framebuffer mode set after coreboot finishes
execution. If this option is enabled, coreboot will pass a