[coreboot-gerrit] Change in coreboot[master]: mb/google/link: Test libgfxinit

Nico Huber (Code Review) gerrit at coreboot.org
Fri Oct 20 21:14:44 CEST 2017


Nico Huber has uploaded this change for review. ( https://review.coreboot.org/22125


Change subject: mb/google/link: Test libgfxinit
......................................................................

mb/google/link: Test libgfxinit

Change-Id: Iae60c1f930f5778ee3b5d9d19227168257e9ae06
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
M src/mainboard/google/link/Kconfig
M src/mainboard/google/link/Makefile.inc
A src/mainboard/google/link/gma-mainboard.ads
3 files changed, 28 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/22125/1

diff --git a/src/mainboard/google/link/Kconfig b/src/mainboard/google/link/Kconfig
index 66b7421..32f9fb6 100644
--- a/src/mainboard/google/link/Kconfig
+++ b/src/mainboard/google/link/Kconfig
@@ -16,6 +16,7 @@
 	select SERIRQ_CONTINUOUS_MODE
 	select MAINBOARD_HAS_NATIVE_VGA_INIT
 	select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT
+	select MAINBOARD_HAS_LIBGFXINIT
 
 config VBOOT
 	select EC_GOOGLE_CHROMEEC_SWITCHES
diff --git a/src/mainboard/google/link/Makefile.inc b/src/mainboard/google/link/Makefile.inc
index a25e95c..281ce32 100644
--- a/src/mainboard/google/link/Makefile.inc
+++ b/src/mainboard/google/link/Makefile.inc
@@ -20,6 +20,7 @@
 ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += i915.c
 ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += i915io.c
 ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += intel_dp.c
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
 
 smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c
 SPD_BIN = $(obj)/spd.bin
diff --git a/src/mainboard/google/link/gma-mainboard.ads b/src/mainboard/google/link/gma-mainboard.ads
new file mode 100644
index 0000000..be87e9d
--- /dev/null
+++ b/src/mainboard/google/link/gma-mainboard.ads
@@ -0,0 +1,26 @@
+--
+-- 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
+--
+
+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 :=
+     (DP1,
+      DP2,
+      DP3,
+      Internal,
+      others => Disabled);
+
+end GMA.Mainboard;

-- 
To view, visit https://review.coreboot.org/22125
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae60c1f930f5778ee3b5d9d19227168257e9ae06
Gerrit-Change-Number: 22125
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171020/64b2a2f3/attachment.html>


More information about the coreboot-gerrit mailing list