diff options
author | Nico Huber <nico.h@gmx.de> | 2017-05-20 01:07:48 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-02 18:37:45 +0200 |
commit | 7971582ec49574e42c5fa5d75e6bdba8a0b9b1f8 (patch) | |
tree | 53ab8f8d49a541e22f8252967faa2c6bb4a81845 /src/soc/nvidia | |
parent | ce642f08b953dd752c5edeb1899b193c202d22fd (diff) | |
download | coreboot-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/nvidia')
-rw-r--r-- | src/soc/nvidia/tegra124/Kconfig | 3 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/Kconfig | 2 |
2 files changed, 5 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 |