[coreboot-gerrit] Patch set updated for coreboot: lenovo: add config ONBOARD_VGA_IS_PRIMARY

Patrick Rudolph (siro@das-labor.org) gerrit at coreboot.org
Fri Mar 11 17:45:31 CET 2016


Patrick Rudolph (siro at das-labor.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14031

-gerrit

commit fb5e213db271737b738bd963535ca0c7c04aae0b
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Thu Mar 10 20:50:42 2016 +0100

    lenovo: add config ONBOARD_VGA_IS_PRIMARY
    
    Fix for the T4xx and T5xx series.
    It does not apply to X2xx/X6x series as those have only
    one GPU, which is always connected to the display.
    
    The T6x series needs special care not handled with this patch.
    
    Without ONBOARD_VGA_IS_PRIMARY the onboard GPU would be
    deactivated in case a dedicated GPU is found and active,
    leaving the system without a working display.
    
    Change-Id: I94d1700e9afb75de83a4f2ed1ff53ba3b0559ae1
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
 src/mainboard/lenovo/t400/Kconfig  | 4 ++++
 src/mainboard/lenovo/t420s/Kconfig | 4 ++++
 src/mainboard/lenovo/t430s/Kconfig | 4 ++++
 src/mainboard/lenovo/t520/Kconfig  | 4 ++++
 src/mainboard/lenovo/t530/Kconfig  | 4 ++++
 5 files changed, 20 insertions(+)

diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
index 0eac311..d74a813 100644
--- a/src/mainboard/lenovo/t400/Kconfig
+++ b/src/mainboard/lenovo/t400/Kconfig
@@ -51,4 +51,8 @@ config CBFS_SIZE
 	hex
 	default 0x200000
 
+config ONBOARD_VGA_IS_PRIMARY
+	bool
+	default y
+
 endif # BOARD_LENOVO_T400
diff --git a/src/mainboard/lenovo/t420s/Kconfig b/src/mainboard/lenovo/t420s/Kconfig
index dc279027..fbfbef5 100644
--- a/src/mainboard/lenovo/t420s/Kconfig
+++ b/src/mainboard/lenovo/t420s/Kconfig
@@ -70,4 +70,8 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
 	hex
 	default 0x21d2
 
+config ONBOARD_VGA_IS_PRIMARY
+	bool
+	default y
+
 endif # BOARD_LENOVO_T420S
diff --git a/src/mainboard/lenovo/t430s/Kconfig b/src/mainboard/lenovo/t430s/Kconfig
index 4e55eda..3f5d4f4 100644
--- a/src/mainboard/lenovo/t430s/Kconfig
+++ b/src/mainboard/lenovo/t430s/Kconfig
@@ -67,4 +67,8 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
 	hex
 	default 0x21fb
 
+config ONBOARD_VGA_IS_PRIMARY
+	bool
+	default y
+
 endif # BOARD_LENOVO_T430S
diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig
index d5cee9e..55a22ba 100644
--- a/src/mainboard/lenovo/t520/Kconfig
+++ b/src/mainboard/lenovo/t520/Kconfig
@@ -70,4 +70,8 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
 	hex
 	default 0x21cf
 
+config ONBOARD_VGA_IS_PRIMARY
+	bool
+	default y
+
 endif # BOARD_LENOVO_T520
diff --git a/src/mainboard/lenovo/t530/Kconfig b/src/mainboard/lenovo/t530/Kconfig
index 257621f..3a34a9a 100644
--- a/src/mainboard/lenovo/t530/Kconfig
+++ b/src/mainboard/lenovo/t530/Kconfig
@@ -68,4 +68,8 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
 	hex
 	default 0x21fa
 
+config ONBOARD_VGA_IS_PRIMARY
+	bool
+	default y
+
 endif # BOARD_LENOVO_T530



More information about the coreboot-gerrit mailing list