summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device/Kconfig11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index f7f4b90c5e..6bb326506f 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -401,12 +401,15 @@ config FRAMEBUFFER_VESA_MODE
default 0x118 if FRAMEBUFFER_VESA_MODE_USER
endif # FRAMEBUFFER_SET_VESA_MODE
+config WANT_LINEAR_FRAMEBUFFER
+ bool
+ default y if CHROMEOS
+ default y if PAYLOAD_TIANOCORE
+
choice
prompt "Framebuffer mode"
- default VBE_LINEAR_FRAMEBUFFER if HAVE_VBE_LINEAR_FRAMEBUFFER && CHROMEOS
- default GENERIC_LINEAR_FRAMEBUFFER if HAVE_LINEAR_FRAMEBUFFER && CHROMEOS
- default VBE_LINEAR_FRAMEBUFFER if HAVE_VBE_LINEAR_FRAMEBUFFER && PAYLOAD_TIANOCORE
- default GENERIC_LINEAR_FRAMEBUFFER if HAVE_LINEAR_FRAMEBUFFER && PAYLOAD_TIANOCORE
+ default VBE_LINEAR_FRAMEBUFFER if HAVE_VBE_LINEAR_FRAMEBUFFER && WANT_LINEAR_FRAMEBUFFER
+ default GENERIC_LINEAR_FRAMEBUFFER if HAVE_LINEAR_FRAMEBUFFER && WANT_LINEAR_FRAMEBUFFER
default VGA_TEXT_FRAMEBUFFER
config VGA_TEXT_FRAMEBUFFER