[coreboot-gerrit] Change in coreboot[master]: [WIP] mb/gigabyte/ga-g41m-es2l: Enable libgfxinit
Nico Huber (Code Review)
gerrit at coreboot.org
Sun Oct 29 16:00:32 CET 2017
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/22224
Change subject: [WIP] mb/gigabyte/ga-g41m-es2l: Enable libgfxinit
......................................................................
[WIP] mb/gigabyte/ga-g41m-es2l: Enable libgfxinit
Change-Id: I48bfe8f42de72da658ea4a1d070c040e4a9d025d
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
M src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
M src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc
A src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads
3 files changed, 16 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/22224/1
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
index fbb090f..db379d0 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig
@@ -26,6 +26,7 @@
select BOARD_ROMSIZE_KB_1024
select INTEL_EDID
select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select MAINBOARD_HAS_LIBGFXINIT
select PCIEXP_ASPM
select PCIEXP_CLK_PM
select PCIEXP_L1_SUB_STATE
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc b/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc
index f3d7e76..0786d6f 100644
--- a/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/Makefile.inc
@@ -1,2 +1,4 @@
ramstage-y += cstates.c
romstage-y += gpio.c
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads b/src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads
new file mode 100644
index 0000000..06511f9
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-g41m-es2l/gma-mainboard.ads
@@ -0,0 +1,13 @@
+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 :=
+ (Analog,
+ others => Disabled);
+
+end GMA.Mainboard;
--
To view, visit https://review.coreboot.org/22224
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I48bfe8f42de72da658ea4a1d070c040e4a9d025d
Gerrit-Change-Number: 22224
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/20171029/5c1b0688/attachment-0001.html>
More information about the coreboot-gerrit
mailing list