Angel Pons has uploaded this change for review.

View Change

[TESTME] mb/bostentech/gbyt4: Add libgfxinit support

Change-Id: Id729f730f93f5c26b603a5b7a94f671f7fd9bfb7
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
---
M src/mainboard/bostentech/gbyt4/Kconfig
M src/mainboard/bostentech/gbyt4/Makefile.inc
A src/mainboard/bostentech/gbyt4/gma-mainboard.ads
3 files changed, 18 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/44938/1
diff --git a/src/mainboard/bostentech/gbyt4/Kconfig b/src/mainboard/bostentech/gbyt4/Kconfig
index a267840..d5e8bda 100644
--- a/src/mainboard/bostentech/gbyt4/Kconfig
+++ b/src/mainboard/bostentech/gbyt4/Kconfig
@@ -7,6 +7,7 @@
select HAVE_ACPI_TABLES
select HAVE_OPTION_TABLE
select HAVE_ACPI_RESUME
+ select MAINBOARD_HAS_LIBGFXINIT
select SUPERIO_ITE_IT8728F

config MAINBOARD_DIR
diff --git a/src/mainboard/bostentech/gbyt4/Makefile.inc b/src/mainboard/bostentech/gbyt4/Makefile.inc
index 11a2a4a..a4fecae 100644
--- a/src/mainboard/bostentech/gbyt4/Makefile.inc
+++ b/src/mainboard/bostentech/gbyt4/Makefile.inc
@@ -3,3 +3,5 @@
ramstage-y += irqroute.c gpio.c
bootblock-y += early_init.c
romstage-y += early_init.c
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/bostentech/gbyt4/gma-mainboard.ads b/src/mainboard/bostentech/gbyt4/gma-mainboard.ads
new file mode 100644
index 0000000..c6422a5
--- /dev/null
+++ b/src/mainboard/bostentech/gbyt4/gma-mainboard.ads
@@ -0,0 +1,15 @@
+-- SPDX-License-Identifier: GPL-2.0-or-later
+
+with HW.GFX.GMA;
+with HW.GFX.GMA.Display_Probing;
+
+use HW.GFX.GMA;
+use HW.GFX.GMA.Display_Probing;
+
+private package GMA.Mainboard is
+
+ ports : constant Port_List :=
+ (Analog,
+ others => Disabled);
+
+end GMA.Mainboard;

To view, visit change 44938. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id729f730f93f5c26b603a5b7a94f671f7fd9bfb7
Gerrit-Change-Number: 44938
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-MessageType: newchange