summaryrefslogtreecommitdiff
path: root/src/drivers
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/drivers
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/drivers')
-rw-r--r--src/drivers/emulation/qemu/Kconfig1
-rw-r--r--src/drivers/xgi/common/Kconfig2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/emulation/qemu/Kconfig b/src/drivers/emulation/qemu/Kconfig
index 168b1c5325..0b847ba585 100644
--- a/src/drivers/emulation/qemu/Kconfig
+++ b/src/drivers/emulation/qemu/Kconfig
@@ -3,6 +3,7 @@ config DRIVERS_EMULATION_QEMU_BOCHS
default y
depends on BOARD_EMULATION_QEMU_X86
depends on MAINBOARD_DO_NATIVE_VGA_INIT
+ select HAVE_VGA_TEXT_FRAMEBUFFER
select VGA
help
VGA driver for qemu emulated vga cards supporting
diff --git a/src/drivers/xgi/common/Kconfig b/src/drivers/xgi/common/Kconfig
index 203a123467..fdc2c3e1b9 100644
--- a/src/drivers/xgi/common/Kconfig
+++ b/src/drivers/xgi/common/Kconfig
@@ -2,3 +2,5 @@ config DRIVERS_XGI_Z79_COMMON
bool
select VGA
select NO_EDID_FILL_FB
+ select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select HAVE_VGA_TEXT_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT