summaryrefslogtreecommitdiff
path: root/src/device/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 5d9aa899bb..841f2249b2 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -16,11 +16,6 @@
menu "Devices"
-# Only set this in the mainboard
-config MAINBOARD_HAS_NATIVE_VGA_INIT
- bool
- default n
-
config HAVE_VGA_TEXT_FRAMEBUFFER
bool
help
@@ -38,6 +33,20 @@ config HAVE_LINEAR_FRAMEBUFFER
Selected by graphics drivers that can set up a generic linear
framebuffer.
+config MAINBOARD_HAS_NATIVE_VGA_INIT
+ def_bool n
+ help
+ Selected by mainboards / drivers that provide native graphics
+ init within coreboot.
+
+config MAINBOARD_FORCE_NATIVE_VGA_INIT
+ def_bool n
+ depends on MAINBOARD_HAS_NATIVE_VGA_INIT || MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_DO_NATIVE_VGA_INIT
+ help
+ Selected by mainboards / chipsets whose graphics driver can't or
+ shouldn't be disabled.
+
config MAINBOARD_DO_NATIVE_VGA_INIT
bool "Use native graphics initialization"
depends on MAINBOARD_HAS_NATIVE_VGA_INIT