summaryrefslogtreecommitdiff
path: root/src/device/Kconfig
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-07-22 18:17:40 +0200
committerNico Huber <nico.h@gmx.de>2019-07-24 06:13:02 +0000
commit7ebb0189fd8d6efebf6eef89e696c6393baf3d94 (patch)
treea27c7fac235494e1a5be4661b1776478633c2268 /src/device/Kconfig
parent4288cda2ed8a765c53a3823b4e9a53d93d78a490 (diff)
downloadcoreboot-7ebb0189fd8d6efebf6eef89e696c6393baf3d94.tar.xz
device: Default to VESA/linear framebuffer for ChromeOS
Building for ChromeOS implies the use of Depthcharge which doesn't support legacy text mode. Change-Id: I7fd82bfed1e59de2de75419cfaea6f0c19cfdf5e Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34483 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 0539062272..e605bc2097 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -255,6 +255,7 @@ menu "Display"
config FRAMEBUFFER_SET_VESA_MODE
prompt "Set framebuffer graphics resolution"
bool
+ default y if CHROMEOS
depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
select HAVE_VBE_LINEAR_FRAMEBUFFER
help
@@ -407,6 +408,8 @@ endif # FRAMEBUFFER_SET_VESA_MODE
choice
prompt "Framebuffer mode"
+ default VBE_LINEAR_FRAMEBUFFER if HAVE_VBE_LINEAR_FRAMEBUFFER && CHROMEOS
+ default GENERIC_LINEAR_FRAMEBUFFER if HAVE_LINEAR_FRAMEBUFFER && CHROMEOS
default VGA_TEXT_FRAMEBUFFER
config VGA_TEXT_FRAMEBUFFER