diff options
author | Bill XIE <persmule@gmail.com> | 2017-08-16 23:05:54 +0800 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2017-08-20 12:33:54 +0000 |
commit | e464ccd116fe51137d9068c5db2edd7275ae8c9d (patch) | |
tree | 81be6fedd072301976f2f3f439e6ee25c52bce4c /src/mainboard | |
parent | e09cd1b787c4dbb8e90dcdbc3e053fca927a8483 (diff) |
mb/gigabyte/ga-b75m-d3v: add libgfxinit support
On this device libgfxinit successfully initializes textmode and
framebuffer mode on the device connected to the HDMI1 port.
VGA port is not tested, due to lack of VGA with valid EDID.
Every ports works on GNU/Linux with kernel version 4.9+80+deb9u1.
Due to limitations within the libgfxinit's current build system,
it needs "select NORTHBRIDGE_INTEL_IVYBRIDGE" to work, even it is
PCH instead of CPU for which libgfxinit should be configured here.
Change-Id: Ib1513fc57b79eebc5d047c2e24585731c44bc215
Signed-off-by: Bill XIE <persmule@gmail.com>
Reviewed-on: https://review.coreboot.org/21071
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3v/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3v/Makefile.inc | 1 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3v/gma-mainboard.ads | 28 |
3 files changed, 31 insertions, 1 deletions
diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig b/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig index 33b7ed77a2..b8694f5a15 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig +++ b/src/mainboard/gigabyte/ga-b75m-d3v/Kconfig @@ -4,7 +4,7 @@ config BOARD_SPECIFIC_OPTIONS 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 @@ config BOARD_SPECIFIC_OPTIONS 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 d57c9b5707..63976c4b79 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 0000000000..416732dc2b --- /dev/null +++ b/src/mainboard/gigabyte/ga-b75m-d3v/gma-mainboard.ads @@ -0,0 +1,28 @@ +-- +-- Copyright (C) 2017 Bill XIE persmule@gmail.com +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- + +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; |