From ec69c483532e7347c508eff9bf6362d56dab3dc6 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 20 Oct 2017 21:12:45 +0200 Subject: mb/google/link: Enable libgfxinit Beside the high-resolution eDP panel, it features a dual-mode mini-DP port. Change-Id: Iae60c1f930f5778ee3b5d9d19227168257e9ae06 Tested-by: Matt DeVillier Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/22125 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/google/link/Kconfig | 1 + src/mainboard/google/link/Makefile.inc | 1 + src/mainboard/google/link/gma-mainboard.ads | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 src/mainboard/google/link/gma-mainboard.ads (limited to 'src/mainboard') diff --git a/src/mainboard/google/link/Kconfig b/src/mainboard/google/link/Kconfig index 66b7421464..32f9fb6183 100644 --- a/src/mainboard/google/link/Kconfig +++ b/src/mainboard/google/link/Kconfig @@ -16,6 +16,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select SERIRQ_CONTINUOUS_MODE select MAINBOARD_HAS_NATIVE_VGA_INIT select HAVE_LINEAR_FRAMEBUFFER if MAINBOARD_DO_NATIVE_VGA_INIT + select MAINBOARD_HAS_LIBGFXINIT config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES diff --git a/src/mainboard/google/link/Makefile.inc b/src/mainboard/google/link/Makefile.inc index a25e95c1e4..281ce32442 100644 --- a/src/mainboard/google/link/Makefile.inc +++ b/src/mainboard/google/link/Makefile.inc @@ -20,6 +20,7 @@ ramstage-y += chromeos.c ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += i915.c ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += i915io.c ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += intel_dp.c +ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c SPD_BIN = $(obj)/spd.bin diff --git a/src/mainboard/google/link/gma-mainboard.ads b/src/mainboard/google/link/gma-mainboard.ads new file mode 100644 index 0000000000..41737255a6 --- /dev/null +++ b/src/mainboard/google/link/gma-mainboard.ads @@ -0,0 +1,25 @@ +-- +-- 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 +-- + +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 := + (Internal, + DP3, + HDMI3, + others => Disabled); + +end GMA.Mainboard; -- cgit v1.2.3