From b43ec47ed3110c5fdeff095c45e18bde709f4780 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 24 Mar 2019 20:39:45 +0100 Subject: [PATCH] console/kconfig: Move ONBOARD_VGA_IS_PRIMARY to 'devices' This has nothing to do with console options. This also improves the help text to reflect what it actually does. Change-Id: I039f4f6bbe144769d6a362192b225838ed3d9d43 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/32042 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Paul Menzel --- src/console/Kconfig | 7 ------- src/device/Kconfig | 10 ++++++++++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/console/Kconfig b/src/console/Kconfig index 5d505d2d21..e767edd4fd 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -176,13 +176,6 @@ config CONSOLE_USB # TODO: Deps? # TODO: Improve description. -config ONBOARD_VGA_IS_PRIMARY - bool "Use onboard VGA as primary video device" - default n - depends on PCI - help - If not selected, the last adapter found will be used. - config CONSOLE_NE2K bool "Network console over NE2000 compatible Ethernet adapter" default n diff --git a/src/device/Kconfig b/src/device/Kconfig index a62eac82ef..7f00c0b4e8 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -116,6 +116,16 @@ config NO_GFX_INIT endchoice +config ONBOARD_VGA_IS_PRIMARY + bool "Use onboard VGA as primary video device" + default n + depends on PCI + help + This option lets you select which VGA device will be used + to decode legacy VGA cycles. Not all chipsets implement this + however. If not selected, the last adapter found will be used, + else the onboard adapter is used. + config S3_VGA_ROM_RUN bool "Re-run VGA Option ROMs on S3 resume" default y