Anonymous Coward #1001586 has uploaded a new change for review. ( https://review.coreboot.org/19522 )
Change subject: mb/gigabyte/ga-b75m-d3h: add libgfxinit support. ......................................................................
mb/gigabyte/ga-b75m-d3h: add libgfxinit support.
Currently native video init works only on port HDMI1 wired to the on-board DVI-D socket, both text mode and fb mode.
Change-Id: If00a7247df0c32b3d1f489fb92d86baaa8fdf8ba Signed-off-by: persmule persmule@gmail.com --- M src/mainboard/gigabyte/ga-b75m-d3h/Kconfig M src/mainboard/gigabyte/ga-b75m-d3h/Makefile.inc A src/mainboard/gigabyte/ga-b75m-d3h/gma-mainboard.ads 3 files changed, 19 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/19522/1
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig b/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig index e53b68c..a9fd50d 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig +++ b/src/mainboard/gigabyte/ga-b75m-d3h/Kconfig @@ -17,6 +17,7 @@ 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 d57c9b5..b5747e9 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 0000000..19f6bf9 --- /dev/null +++ b/src/mainboard/gigabyte/ga-b75m-d3h/gma-mainboard.ads @@ -0,0 +1,17 @@ +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, + HDMI1, + HDMI2, + Analog, + others => Disabled); + +end GMA.Mainboard;