[coreboot-gerrit] Patch set updated for coreboot: 4912208 devices: Allow to configure textmode in native gfx init.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Mon Mar 3 21:53:52 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5282

-gerrit

commit 49122087056d4d7c6627f70831f0b03b09b7a2de
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sat Feb 22 10:34:47 2014 +0100

    devices: Allow to configure textmode in native gfx init.
    
    Usefull to select between text mode which offers best compatibility with
    payloads and gfx mode which makes the best-looking screen.
    
    Also right now we have an unfortunate situation when qemu is in gfx mode
    while most real systems use text mode.
    
    Change-Id: Ifad7ba197875edfdd06eb932afeb5800229ef055
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/device/Kconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/device/Kconfig b/src/device/Kconfig
index 4b2d4b8..eaa0c04 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -25,6 +25,10 @@ config MAINBOARD_HAS_NATIVE_VGA_INIT
 	bool
 	default n
 
+config MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
+	bool
+	default n
+
 config MAINBOARD_DO_NATIVE_VGA_INIT
 	bool "Use native graphics initialization"
 	depends on MAINBOARD_HAS_NATIVE_VGA_INIT
@@ -431,7 +435,7 @@ config FRAMEBUFFER_VESA_MODE
 config FRAMEBUFFER_KEEP_VESA_MODE
 	prompt "Keep VESA framebuffer"
 	bool
-	depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE || !MAINBOARD_DO_NATIVE_VGA_INIT
+	depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE || (MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG && MAINBOARD_DO_NATIVE_VGA_INIT)
 	help
 	  This option keeps the framebuffer mode set after coreboot finishes
 	  execution. If this option is enabled, coreboot will pass a



More information about the coreboot-gerrit mailing list