summaryrefslogtreecommitdiff
path: root/src/device/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 4b2d4b83df..eaa0c042f7 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