[coreboot-gerrit] New patch to review for coreboot: mb/kontron/ktqm77: Enable native gfx init through libgfxinit
Nico Huber (nico.h@gmx.de)
gerrit at coreboot.org
Thu Oct 20 18:22:54 CEST 2016
Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17074
-gerrit
commit 53f45b7fe87c7dec9c5f332d7082660dd2da947c
Author: Nico Huber <nico.huber at secunet.com>
Date: Wed Oct 19 13:41:42 2016 +0200
mb/kontron/ktqm77: Enable native gfx init through libgfxinit
Change-Id: Ie16b3236e7378a2062b3081e4530d7a4791b4b66
Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
src/mainboard/kontron/ktqm77/Kconfig | 2 ++
src/mainboard/kontron/ktqm77/Makefile.inc | 2 ++
src/mainboard/kontron/ktqm77/gma-mainboard.ads | 21 +++++++++++++++++++++
3 files changed, 25 insertions(+)
diff --git a/src/mainboard/kontron/ktqm77/Kconfig b/src/mainboard/kontron/ktqm77/Kconfig
index 77ad91b..d0f0d2c 100644
--- a/src/mainboard/kontron/ktqm77/Kconfig
+++ b/src/mainboard/kontron/ktqm77/Kconfig
@@ -12,6 +12,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_ACPI_RESUME
select ENABLE_VMX
+ select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select MAINBOARD_HAS_LIBGFXINIT
config MAINBOARD_DIR
string
diff --git a/src/mainboard/kontron/ktqm77/Makefile.inc b/src/mainboard/kontron/ktqm77/Makefile.inc
index 3dae61e..ea035d3 100644
--- a/src/mainboard/kontron/ktqm77/Makefile.inc
+++ b/src/mainboard/kontron/ktqm77/Makefile.inc
@@ -1 +1,3 @@
romstage-y += gpio.c
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/kontron/ktqm77/gma-mainboard.ads b/src/mainboard/kontron/ktqm77/gma-mainboard.ads
new file mode 100644
index 0000000..cf86617
--- /dev/null
+++ b/src/mainboard/kontron/ktqm77/gma-mainboard.ads
@@ -0,0 +1,21 @@
+with HW.GFX.GMA;
+
+use HW.GFX.GMA;
+
+private package GMA.Mainboard is
+
+ -- For a three-pipe setup, bandwidth is shared between the 2nd and
+ -- the 3rd pipe (if it's not eDP). Thus, probe ports that likely
+ -- have a high-resolution display attached first, `Internal` last.
+
+ ports : constant Port_List :=
+ (DP2,
+ DP3,
+ Digital1,
+ Digital2,
+ Digital3,
+ Analog,
+ Internal,
+ others => Disabled);
+
+end GMA.Mainboard;
More information about the coreboot-gerrit
mailing list