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>
This commit is contained in:
Michael Niewöhner 2019-10-26 10:37:42 +02:00 committed by Martin Roth
parent 57e8909081
commit d61a40e291
1 changed files with 6 additions and 1 deletions

View File

@ -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