aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte
diff options
context:
space:
mode:
authorpersmule <persmule@gmail.com>2017-05-02 16:03:44 +0800
committerNico Huber <nico.h@gmx.de>2017-05-04 10:33:04 +0200
commit91fbb25ec77ea437e611415d3eb91d3ac7a6998c (patch)
treeb22081c485ac6d7341c88a0f4595cd7762215b1b /src/mainboard/gigabyte
parent8565c03caf6ea505e3542be01a2cc9b532449728 (diff)
mb/gigabyte/ga-b75m-d3h: add libgfxinit support
Currently native video init works on port HDMI1 (wired to the on-board DVI-D socket) , HDMI3 (the on-board HDMI port), and the VGA port, both text mode and fb mode. Every ports works on GNU/Linux. Tested against an IVB cpu (i7-3770T). Change-Id: If00a7247df0c32b3d1f489fb92d86baaa8fdf8ba Signed-off-by: Bill XIE <persmule@gmail.com> Reviewed-on: https://review.coreboot.org/19522 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/gigabyte')
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3h/Kconfig1
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3h/Makefile.inc1
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3h/gma-mainboard.ads15
3 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig b/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig
index e53b68c0a3..a9fd50d2ec 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig
@@ -17,6 +17,7 @@ config BOARD_SPECIFIC_OPTIONS
select INTEL_INT15
select UDELAY_TSC
select SERIRQ_CONTINUOUS_MODE
+ select MAINBOARD_HAS_LIBGFXINIT
config MMCONF_BASE_ADDRESS
hex
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/Makefile.inc b/src/mainboard/gigabyte/ga-b75m-d3h/Makefile.inc
index d57c9b5707..b5747e9150 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/Makefile.inc
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/Makefile.inc
@@ -14,3 +14,4 @@
##
romstage-y += gpio.c
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads \ No newline at end of file
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/gma-mainboard.ads b/src/mainboard/gigabyte/ga-b75m-d3h/gma-mainboard.ads
new file mode 100644
index 0000000000..fe0ff75726
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/gma-mainboard.ads
@@ -0,0 +1,15 @@
+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,
+ HDMI3,
+ Analog,
+ others => Disabled);
+
+end GMA.Mainboard;