summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/slippy/Kconfig1
-rw-r--r--src/mainboard/google/slippy/Makefile.inc3
-rw-r--r--src/mainboard/google/slippy/gma-mainboard.ads26
3 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/google/slippy/Kconfig b/src/mainboard/google/slippy/Kconfig
index 045d6a8c0b..0413cd846a 100644
--- a/src/mainboard/google/slippy/Kconfig
+++ b/src/mainboard/google/slippy/Kconfig
@@ -17,6 +17,7 @@ config BOARD_GOOGLE_BASEBOARD_SLIPPY
select INTEL_DP if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
select INTEL_DDI if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
select INTEL_INT15
+ select MAINBOARD_HAS_LIBGFXINIT
if BOARD_GOOGLE_BASEBOARD_SLIPPY
diff --git a/src/mainboard/google/slippy/Makefile.inc b/src/mainboard/google/slippy/Makefile.inc
index 8c95ba115e..53e8dffd85 100644
--- a/src/mainboard/google/slippy/Makefile.inc
+++ b/src/mainboard/google/slippy/Makefile.inc
@@ -23,4 +23,7 @@ smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
romstage-y += variants/$(VARIANT_DIR)/romstage.c
subdirs-y += variants/$(VARIANT_DIR)
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
+
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
diff --git a/src/mainboard/google/slippy/gma-mainboard.ads b/src/mainboard/google/slippy/gma-mainboard.ads
new file mode 100644
index 0000000000..1fc3906fed
--- /dev/null
+++ b/src/mainboard/google/slippy/gma-mainboard.ads
@@ -0,0 +1,26 @@
+--
+-- Copyright (C) 2016 Arthur Heymans arthur@aheymans.xyz
+--
+-- 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;
+
+use HW.GFX.GMA;
+
+private package GMA.Mainboard is
+
+ ports : constant Port_List :=
+ (Digital1,
+ Internal,
+ others => Disabled);
+
+end GMA.Mainboard;