From 7971582ec49574e42c5fa5d75e6bdba8a0b9b1f8 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 20 May 2017 01:07:48 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/19800 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/rockchip/rk3288/Kconfig | 3 +++ src/soc/rockchip/rk3399/Kconfig | 1 + 2 files changed, 4 insertions(+) (limited to 'src/soc/rockchip') 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 -- cgit v1.2.3