From 4cb2f7684e6ec746d7de1b51f9c86935f9d3d64f Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 16 Jun 2020 19:49:53 +0200 Subject: src/device/Kconfig: Introduce WANT_LINEAR_FRAMEBUFFER This decouples the linear framebuffer type from the symbols needing it. Change-Id: I733e630e0aa2fb2947d079caef26253ce443fe91 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/42432 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- src/device/Kconfig | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/device') 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 -- cgit v1.2.3