summaryrefslogtreecommitdiff
path: root/src/mainboard/purism/librem_bdw
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/purism/librem_bdw')
-rw-r--r--src/mainboard/purism/librem_bdw/Kconfig1
-rw-r--r--src/mainboard/purism/librem_bdw/Makefile.inc2
-rw-r--r--src/mainboard/purism/librem_bdw/gma-mainboard.ads28
3 files changed, 31 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem_bdw/Kconfig b/src/mainboard/purism/librem_bdw/Kconfig
index 9424a7ef3b..339d7012f7 100644
--- a/src/mainboard/purism/librem_bdw/Kconfig
+++ b/src/mainboard/purism/librem_bdw/Kconfig
@@ -6,6 +6,7 @@ config BOARD_PURISM_BASEBOARD_LIBREM_BDW
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select INTEL_INT15
+ select MAINBOARD_HAS_LIBGFXINIT
select SOC_INTEL_BROADWELL
if BOARD_PURISM_BASEBOARD_LIBREM_BDW
diff --git a/src/mainboard/purism/librem_bdw/Makefile.inc b/src/mainboard/purism/librem_bdw/Makefile.inc
index 16ce37a95f..13c0af4c8d 100644
--- a/src/mainboard/purism/librem_bdw/Makefile.inc
+++ b/src/mainboard/purism/librem_bdw/Makefile.inc
@@ -16,3 +16,5 @@
romstage-y += gpio.c
romstage-y += variants/$(VARIANT_DIR)/pei_data.c
ramstage-y += variants/$(VARIANT_DIR)/pei_data.c
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/purism/librem_bdw/gma-mainboard.ads b/src/mainboard/purism/librem_bdw/gma-mainboard.ads
new file mode 100644
index 0000000000..1aba615128
--- /dev/null
+++ b/src/mainboard/purism/librem_bdw/gma-mainboard.ads
@@ -0,0 +1,28 @@
+--
+-- This file is part of the coreboot project.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+
+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 :=
+ (Internal,
+ HDMI1,
+ others => Disabled);
+
+end GMA.Mainboard;