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>
This commit is contained in:
Nico Huber 2019-07-22 18:17:40 +02:00
parent 4288cda2ed
commit 7ebb0189fd
1 changed files with 3 additions and 0 deletions

View File

@ -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