From 8ebb95d0c8e9088c9961cf3f8a3fdfed17f0247e Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 10 Mar 2016 20:50:42 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/14031 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens Reviewed-by: Nicolas Reinecke --- 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(+) (limited to 'src') diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig index 0eac311c4e..d74a813bd6 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 dc27902789..fbfbef528e 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 4e55eda63e..3f5d4f4c03 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 d5cee9e7d5..55a22bac82 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 257621f0e1..3a34a9a46b 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 -- cgit v1.2.3