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:
parent
57e8909081
commit
d61a40e291
|
@ -36,6 +36,11 @@ config HAVE_FSP_GOP
|
||||||
Selected by drivers that support to run a blob that implements
|
Selected by drivers that support to run a blob that implements
|
||||||
the Graphics Output Protocol (GOP).
|
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
|
config MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||||
def_bool n
|
def_bool n
|
||||||
help
|
help
|
||||||
|
@ -94,7 +99,7 @@ config VGA_ROM_RUN
|
||||||
|
|
||||||
config RUN_FSP_GOP
|
config RUN_FSP_GOP
|
||||||
bool "Run a GOP driver"
|
bool "Run a GOP driver"
|
||||||
depends on HAVE_FSP_GOP
|
depends on HAVE_FSP_GOP && !MAINBOARD_NO_FSP_GOP
|
||||||
select HAVE_LINEAR_FRAMEBUFFER
|
select HAVE_LINEAR_FRAMEBUFFER
|
||||||
help
|
help
|
||||||
Some platforms (e.g. Intel Braswell and Skylake/Kaby Lake) support
|
Some platforms (e.g. Intel Braswell and Skylake/Kaby Lake) support
|
||||||
|
|
Loading…
Reference in New Issue