aboutsummaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2017-05-22 15:58:03 +0200
committerNico Huber <nico.h@gmx.de>2017-06-08 14:58:29 +0200
commit2e7f6ccafc3e633ed9001b3c3863253ee0630429 (patch)
treef8e8ff0b026fe9adf97b7cdc135665044f614b5a /src/device
parentd4ebeaf475dc1137f489f12ffa4e55d914238662 (diff)
fsp/gop: Add running the GOP to the choice of gfx init
The new config choice is called RUN_FSP_GOP. Some things had to happen on the road: * Drop confusing config GOP_SUPPORT, * Add HAVE_FSP_GOP to chipsets that support it, * Make running the GOP an option for FSP2.0 by returning 0 in random VBT getters. Change-Id: I92f88424004a4c0abf1f39cc02e2a146bddbcedf Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/19815 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 0637c699f7..a5b8247cde 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -33,6 +33,12 @@ config HAVE_LINEAR_FRAMEBUFFER
Selected by graphics drivers that can set up a generic linear
framebuffer.
+config HAVE_FSP_GOP
+ bool
+ help
+ Selected by drivers that support to run a blob that implements
+ the Graphics Output Protocol (GOP).
+
config MAINBOARD_HAS_NATIVE_VGA_INIT
def_bool n
help
@@ -76,6 +82,15 @@ config MAINBOARD_USE_LIBGFXINIT
Use the SPARK library `libgfxinit` for the native graphics
initialization. This requires an Ada toolchain.
+config RUN_FSP_GOP
+ bool "Run a GOP driver"
+ depends on HAVE_FSP_GOP
+ select HAVE_LINEAR_FRAMEBUFFER
+ help
+ Some platforms (e.g. Intel Braswell and Skylake/Kaby Lake) support
+ to run a GOP blob. This option enables graphics initialization with
+ such a blob.
+
# TODO: Explain differences (if any) for onboard cards.
config VGA_ROM_RUN
bool "Run VGA Option ROMs"