summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/dg43gt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/dg43gt')
-rw-r--r--src/mainboard/intel/dg43gt/Kconfig1
-rw-r--r--src/mainboard/intel/dg43gt/Makefile.inc2
-rw-r--r--src/mainboard/intel/dg43gt/gma-mainboard.ads30
3 files changed, 33 insertions, 0 deletions
diff --git a/src/mainboard/intel/dg43gt/Kconfig b/src/mainboard/intel/dg43gt/Kconfig
index aabc703830..8a862a5114 100644
--- a/src/mainboard/intel/dg43gt/Kconfig
+++ b/src/mainboard/intel/dg43gt/Kconfig
@@ -35,6 +35,7 @@ config BOARD_SPECIFIC_OPTIONS
select GFX_GMA_ANALOG_I2C_HDMI_C
select DRIVERS_I2C_CK505
select INTEL_GMA_HAVE_VBT
+ select MAINBOARD_HAS_LIBGFXINIT
config VGA_BIOS_ID
string
diff --git a/src/mainboard/intel/dg43gt/Makefile.inc b/src/mainboard/intel/dg43gt/Makefile.inc
index 630abda711..6b3d94a037 100644
--- a/src/mainboard/intel/dg43gt/Makefile.inc
+++ b/src/mainboard/intel/dg43gt/Makefile.inc
@@ -13,3 +13,5 @@
ramstage-y += cstates.c
romstage-y += gpio.c
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/intel/dg43gt/gma-mainboard.ads b/src/mainboard/intel/dg43gt/gma-mainboard.ads
new file mode 100644
index 0000000000..7dab160abf
--- /dev/null
+++ b/src/mainboard/intel/dg43gt/gma-mainboard.ads
@@ -0,0 +1,30 @@
+--
+-- 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 :=
+ (HDMI1,
+ HDMI2,
+ Analog,
+ Internal,
+ others => Disabled);
+
+end GMA.Mainboard;