summaryrefslogtreecommitdiff
path: root/src/soc
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
parentce642f08b953dd752c5edeb1899b193c202d22fd (diff)
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')
-rw-r--r--src/soc/nvidia/tegra124/Kconfig3
-rw-r--r--src/soc/nvidia/tegra210/Kconfig2
-rw-r--r--src/soc/rockchip/rk3288/Kconfig3
-rw-r--r--src/soc/rockchip/rk3399/Kconfig1
4 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra124/Kconfig b/src/soc/nvidia/tegra124/Kconfig
index cd753f42ae..8fe0451613 100644
--- a/src/soc/nvidia/tegra124/Kconfig
+++ b/src/soc/nvidia/tegra124/Kconfig
@@ -13,6 +13,9 @@ config SOC_NVIDIA_TEGRA124
select BOOTBLOCK_CONSOLE
select ARM_LPAE
select GENERIC_GPIO_LIB
+ select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select MAINBOARD_DO_NATIVE_VGA_INIT
+ select HAVE_LINEAR_FRAMEBUFFER
if SOC_NVIDIA_TEGRA124
diff --git a/src/soc/nvidia/tegra210/Kconfig b/src/soc/nvidia/tegra210/Kconfig
index 30a23ef394..c7c1cf0a7a 100644
--- a/src/soc/nvidia/tegra210/Kconfig
+++ b/src/soc/nvidia/tegra210/Kconfig
@@ -26,6 +26,7 @@ config MAINBOARD_DO_DSI_INIT
bool "Use dsi graphics interface"
depends on MAINBOARD_DO_NATIVE_VGA_INIT
default n
+ select HAVE_LINEAR_FRAMEBUFFER
help
Initialize dsi display
@@ -33,6 +34,7 @@ config MAINBOARD_DO_SOR_INIT
bool "Use dp graphics interface"
depends on MAINBOARD_DO_NATIVE_VGA_INIT
default n
+ select HAVE_LINEAR_FRAMEBUFFER
help
Initialize dp display
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