From d61a40e291b82219a07646d39f587ed48304310b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Niew=C3=B6hner?= Date: Sat, 26 Oct 2019 10:37:42 +0200 Subject: device: add Kconfig option to hide GOP initialization option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are mainboards that do not have any graphics ports connected to the SoC. It would be senseless to initialize the iGD, thus add a new mainboard Kconfig to hide the GOP option. Change-Id: Ica3b3a7a0c8120c95412369a24d8d669fb59fded Signed-off-by: Michael Niewöhner Reviewed-on: https://review.coreboot.org/c/coreboot/+/36348 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/device/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/device/Kconfig b/src/device/Kconfig index 97ed997aee..a62eac82ef 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -36,6 +36,11 @@ config HAVE_FSP_GOP Selected by drivers that support to run a blob that implements the Graphics Output Protocol (GOP). +config MAINBOARD_NO_FSP_GOP + bool + help + Selected by mainboards that do not have any graphics ports connected to the SoC. + config MAINBOARD_HAS_NATIVE_VGA_INIT def_bool n help @@ -94,7 +99,7 @@ config VGA_ROM_RUN config RUN_FSP_GOP bool "Run a GOP driver" - depends on HAVE_FSP_GOP + depends on HAVE_FSP_GOP && !MAINBOARD_NO_FSP_GOP select HAVE_LINEAR_FRAMEBUFFER help Some platforms (e.g. Intel Braswell and Skylake/Kaby Lake) support -- cgit v1.2.3