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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42432 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f13b6ebc89
commit
4cb2f7684e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue