summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl7/gma-mainboard.ads15
3 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig
index baf640a11e..953dcfd484 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Kconfig
@@ -7,6 +7,7 @@ config BOARD_SPECIFIC_OPTIONS
select SOC_INTEL_SET_MIN_CLOCK_RATIO
select DRIVERS_I2C_PTN3460
select PTN3460_EARLY_INIT
+ select MAINBOARD_HAS_LIBGFXINIT
config UART_FOR_CONSOLE
default 1
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc
index e26339c548..ecab3ccc33 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/Makefile.inc
@@ -4,3 +4,4 @@ romstage-y += memory.c
ramstage-y += gpio.c
ramstage-y += lcd_panel.c
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl7/gma-mainboard.ads b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/gma-mainboard.ads
new file mode 100644
index 0000000000..e0a166fe55
--- /dev/null
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl7/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 :=
+ (eDP,
+ others => Disabled);
+
+end GMA.Mainboard;