[coreboot-gerrit] Change in coreboot[master]: mb/gigabyte/ga-b75m-d3v: add libgfxinit support

Bill XIE (Code Review) gerrit at coreboot.org
Thu Aug 17 15:13:26 CEST 2017


Bill XIE has uploaded this change for review. ( https://review.coreboot.org/21071


Change subject: mb/gigabyte/ga-b75m-d3v: add libgfxinit support
......................................................................

mb/gigabyte/ga-b75m-d3v: add libgfxinit support

Currently native video init works on port HDMI1 (wired to the
on-board DVI-D socket), both text mode and
fb mode.

VGA port is not tested, for current I have no vga monitor with
valid edid available.

Every ports works on GNU/Linux.

Change-Id: Ib1513fc57b79eebc5d047c2e24585731c44bc215
Signed-off-by: Bill XIE <persmule at gmail.com>
---
M src/mainboard/gigabyte/ga-b75m-d3v/Kconfig
M src/mainboard/gigabyte/ga-b75m-d3v/Makefile.inc
A src/mainboard/gigabyte/ga-b75m-d3v/gma-mainboard.ads
3 files changed, 17 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/21071/1

diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig b/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig
index 33b7ed7..b8694f5 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig
@@ -4,7 +4,7 @@
 	def_bool y
 	select ARCH_X86
 	select CPU_INTEL_SOCKET_LGA1155
-	select NORTHBRIDGE_INTEL_SANDYBRIDGE
+	select NORTHBRIDGE_INTEL_IVYBRIDGE
 	select USE_NATIVE_RAMINIT
 	select SOUTHBRIDGE_INTEL_C216
 	select SUPERIO_ITE_IT8728F
@@ -16,6 +16,7 @@
 	select HAVE_SMI_HANDLER
 	select INTEL_INT15
 	select SERIRQ_CONTINUOUS_MODE
+	select MAINBOARD_HAS_LIBGFXINIT
 
 config DRAM_RESET_GATE_GPIO
 	int
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/Makefile.inc b/src/mainboard/gigabyte/ga-b75m-d3v/Makefile.inc
index d57c9b5..63976c4 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3v/Makefile.inc
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/Makefile.inc
@@ -14,3 +14,4 @@
 ##
 
 romstage-y += gpio.c
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/gma-mainboard.ads b/src/mainboard/gigabyte/ga-b75m-d3v/gma-mainboard.ads
new file mode 100644
index 0000000..60019d3
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-b75m-d3v/gma-mainboard.ads
@@ -0,0 +1,14 @@
+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,
+      Analog,
+      others => Disabled);
+
+end GMA.Mainboard;

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1513fc57b79eebc5d047c2e24585731c44bc215
Gerrit-Change-Number: 21071
Gerrit-PatchSet: 1
Gerrit-Owner: Bill XIE <persmule at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170817/d5dcc17e/attachment-0001.html>


More information about the coreboot-gerrit mailing list