summaryrefslogtreecommitdiff
path: root/src/soc/rockchip
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/soc/rockchip
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/soc/rockchip')
-rw-r--r--src/soc/rockchip/rk3288/Kconfig3
-rw-r--r--src/soc/rockchip/rk3399/Kconfig1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/rockchip/rk3288/Kconfig b/src/soc/rockchip/rk3288/Kconfig
index 19e52b64d9..293743c86c 100644
--- a/src/soc/rockchip/rk3288/Kconfig
+++ b/src/soc/rockchip/rk3288/Kconfig
@@ -28,6 +28,9 @@ config SOC_ROCKCHIP_RK3288
select GENERIC_GPIO_LIB
select RTC
select UART_OVERRIDE_REFCLK
+ select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select MAINBOARD_DO_NATIVE_VGA_INIT
+ select HAVE_LINEAR_FRAMEBUFFER
if SOC_ROCKCHIP_RK3288
diff --git a/src/soc/rockchip/rk3399/Kconfig b/src/soc/rockchip/rk3399/Kconfig
index ff857c022c..5e7c55a7f9 100644
--- a/src/soc/rockchip/rk3399/Kconfig
+++ b/src/soc/rockchip/rk3399/Kconfig
@@ -11,6 +11,7 @@ config SOC_ROCKCHIP_RK3399
select GENERIC_UDELAY
select HAVE_MONOTONIC_TIMER
select UART_OVERRIDE_REFCLK
+ select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
if SOC_ROCKCHIP_RK3399