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>
This commit is contained in:
persmule 2017-05-02 16:03:44 +08:00 committed by Nico Huber
parent 8565c03caf
commit 91fbb25ec7
3 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -14,3 +14,4 @@
##
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads

View File

@ -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;