diff options
author | Nico Huber <nico.huber@secunet.com> | 2017-05-22 13:22:09 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-06-08 14:31:43 +0200 |
commit | 26ce9af9a04ae282ff7c186eac0476f13a37cfa0 (patch) | |
tree | 543b7ea904c49ddee9389efe38e8254e61a39808 /src/device/Kconfig | |
parent | eb881d46e2aa13e0c11bcbd029c4368f71cd85c9 (diff) |
device/Kconfig: Introduce MAINBOARD_FORCE_NATIVE_VGA_INIT
MAINBOARD_FORCE_NATIVE_VGA_INIT is to be selected instead of the user
option MAINBOARD_DO_NATIVE_VGA_INIT. The distinction is necessary to
use the latter in a choice.
Change-Id: I689aa5cadea9e1091180fd38b1dc093c6938d69c
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/19813
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r-- | src/device/Kconfig | 19 |
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 |