summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2019-10-26 10:37:42 +0200
committerMartin Roth <martinroth@google.com>2019-10-27 22:17:06 +0000
commitd61a40e291b82219a07646d39f587ed48304310b (patch)
tree2956bcd71b9dbc43537dd44da2b22302f47b4008
parent57e89090818537d6dd9bd478a3aa6b5ec2ea8704 (diff)
device: add Kconfig option to hide GOP initialization option
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 <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36348 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/device/Kconfig7
1 files changed, 6 insertions, 1 deletions
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