Mike Banon has uploaded this change for review.

View Change

src/device/Kconfig: introduce the MULTIPLE_VGA_ADAPTERS symbols

Some motherboards may have more than one VGA adapter - for example,
there are versions of Lenovo G505S that have a discrete VGA adapter
in addition to its' integrated VGA adapter which is a part of APU.

MULTIPLE_VGA_ADAPTERS Kconfig symbols, combined with other changes,
will help to get a discrete VGA adapter working at these boards.

Signed-off-by: Mike Banon <mikebdp2@gmail.com>
Change-Id: I03133a45f28251291008267e5c9b10f805c0003a
---
M src/device/Kconfig
1 file changed, 12 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/38200/1
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 0bd9fe1..979ad90 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -63,6 +63,11 @@
Selected by mainboards that implement support for `libgfxinit`.
Usually this requires a list of ports to be probed for displays.

+config MAINBOARD_HAS_MULTIPLE_VGA_ADAPTERS
+ bool
+ help
+ Selected by mainboards that have or support multiple VGA adapters.
+
choice
prompt "Graphics initialization"
default NO_GFX_INIT if VGA_BIOS && PAYLOAD_SEABIOS
@@ -261,8 +266,15 @@
Enable this option for a good compromise between security and speed.

config MULTIPLE_VGA_ADAPTERS
+ prompt "Multiple VGA Adapters"
bool
+ depends on MAINBOARD_HAS_MULTIPLE_VGA_ADAPTERS
default n
+ help
+ Some motherboards may have more than one VGA adapter - for example,
+ there are versions of Lenovo G505S that have a discrete VGA adapter
+ in addition to its' integrated VGA adapter which is a part of APU.
+ Enable this option to try to initialize this discrete VGA adapter.

menu "Display"
depends on HAVE_VGA_TEXT_FRAMEBUFFER || HAVE_LINEAR_FRAMEBUFFER

To view, visit change 38200. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I03133a45f28251291008267e5c9b10f805c0003a
Gerrit-Change-Number: 38200
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Banon <mikebdp2@gmail.com>
Gerrit-MessageType: newchange