mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: mb/kontron/ktqm77: Enable native gfx init through libgfxinit
BUG=None BRANCH=None TEST=None Change-Id: Ie16b3236e7378a2062b3081e4530d7a4791b4b66 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/17074 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: https://chromium-review.googlesource.com/422562 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
45068b6fb4
commit
2cc0158728
3 changed files with 26 additions and 0 deletions
|
@ -12,6 +12,9 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select HAVE_OPTION_TABLE
|
||||
select HAVE_ACPI_RESUME
|
||||
select ENABLE_VMX
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_ANALOG_I2C_HDMI_B
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
|
||||
config MAINBOARD_DIR
|
||||
string
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
romstage-y += gpio.c
|
||||
|
||||
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
|
||||
|
|
21
src/mainboard/kontron/ktqm77/gma-mainboard.ads
Normal file
21
src/mainboard/kontron/ktqm77/gma-mainboard.ads
Normal file
|
@ -0,0 +1,21 @@
|
|||
with HW.GFX.GMA;
|
||||
|
||||
use HW.GFX.GMA;
|
||||
|
||||
private package GMA.Mainboard is
|
||||
|
||||
-- For a three-pipe setup, bandwidth is shared between the 2nd and
|
||||
-- the 3rd pipe (if it's not eDP). Thus, probe ports that likely
|
||||
-- have a high-resolution display attached first, `Internal` last.
|
||||
|
||||
ports : constant Port_List :=
|
||||
(DP2,
|
||||
DP3,
|
||||
Digital1,
|
||||
Digital2,
|
||||
Digital3,
|
||||
Analog,
|
||||
Internal,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
Loading…
Add table
Reference in a new issue