summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-05-20 01:07:48 +0200
committerMartin Roth <martinroth@google.com>2017-06-02 18:37:45 +0200
commit7971582ec49574e42c5fa5d75e6bdba8a0b9b1f8 (patch)
tree53ab8f8d49a541e22f8252967faa2c6bb4a81845 /src/drivers
parentce642f08b953dd752c5edeb1899b193c202d22fd (diff)
downloadcoreboot-7971582ec49574e42c5fa5d75e6bdba8a0b9b1f8.tar.xz
Kconfig: Introduce HAVE_(VBE_)LINEAR_FRAMEBUFFER
Like HAVE_VGA_TEXT_FRAMEBUFFER, these are selected by graphics drivers that support a linear framebuffer. Some related settings moved to the drivers (i.e. for rockchip/rk3288 and nvidia/tegra124) since they are hardcoded. Change-Id: Iff6dac5a5f61af49456bc6312e7a376def02ab00 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/19800 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/intel/fsp1_1/Kconfig1
-rw-r--r--src/drivers/intel/fsp2_0/Kconfig1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/emulation/qemu/Kconfig b/src/drivers/emulation/qemu/Kconfig
index 0b847ba585..f8aad88730 100644
--- a/src/drivers/emulation/qemu/Kconfig
+++ b/src/drivers/emulation/qemu/Kconfig
@@ -4,6 +4,7 @@ config DRIVERS_EMULATION_QEMU_BOCHS
depends on BOARD_EMULATION_QEMU_X86
depends on MAINBOARD_DO_NATIVE_VGA_INIT
select HAVE_VGA_TEXT_FRAMEBUFFER
+ select HAVE_LINEAR_FRAMEBUFFER
select VGA
help
VGA driver for qemu emulated vga cards supporting
diff --git a/src/drivers/intel/fsp1_1/Kconfig b/src/drivers/intel/fsp1_1/Kconfig
index cc3c0a7104..13137ca831 100644
--- a/src/drivers/intel/fsp1_1/Kconfig
+++ b/src/drivers/intel/fsp1_1/Kconfig
@@ -99,6 +99,7 @@ config GOP_SUPPORT
bool "Enable GOP support"
default n
select ADD_VBT_DATA_FILE
+ select HAVE_LINEAR_FRAMEBUFFER
config USE_GENERIC_FSP_CAR_INC
bool
diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig
index 864b3a1a2d..0c6b229ccb 100644
--- a/src/drivers/intel/fsp2_0/Kconfig
+++ b/src/drivers/intel/fsp2_0/Kconfig
@@ -16,6 +16,7 @@
config PLATFORM_USES_FSP2_0
bool
select UDK_2015_BINDING
+ select HAVE_LINEAR_FRAMEBUFFER
help
Include FSP 2.0 wrappers and functionality