From 14ea5a0947e25084cfd840544ef5990ac95e6cea Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 21 Oct 2020 13:25:55 +0200 Subject: mb/purism/librem_mini: Add libgfxinit support Tested on Librem Mini v1 (WHL), both DisplayPort and HDMI 2.0 work. Change-Id: I0da26fef304583eec0375eee2082a9d2ebe27292 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/46627 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Matt DeVillier --- src/mainboard/purism/librem_cnl/Kconfig | 1 + src/mainboard/purism/librem_cnl/Kconfig.name | 1 - .../librem_cnl/variants/librem_mini/gma-mainboard.ads | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/mainboard/purism/librem_cnl/variants/librem_mini/gma-mainboard.ads (limited to 'src/mainboard/purism') diff --git a/src/mainboard/purism/librem_cnl/Kconfig b/src/mainboard/purism/librem_cnl/Kconfig index eeb4d3b9db..591367d342 100644 --- a/src/mainboard/purism/librem_cnl/Kconfig +++ b/src/mainboard/purism/librem_cnl/Kconfig @@ -6,6 +6,7 @@ config BOARD_PURISM_BASEBOARD_LIBREM_CNL select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select INTEL_GMA_HAVE_VBT + select MAINBOARD_HAS_LIBGFXINIT select NO_UART_ON_SUPERIO select SOC_INTEL_COMMON_BLOCK_HDA_VERB select SPD_CACHE_IN_FMAP diff --git a/src/mainboard/purism/librem_cnl/Kconfig.name b/src/mainboard/purism/librem_cnl/Kconfig.name index e5da91679b..cfe8626afc 100644 --- a/src/mainboard/purism/librem_cnl/Kconfig.name +++ b/src/mainboard/purism/librem_cnl/Kconfig.name @@ -13,7 +13,6 @@ config BOARD_PURISM_LIBREM_14 select BOARD_PURISM_BASEBOARD_LIBREM_CNL select DRIVERS_I2C_HID select EC_LIBREM_EC - select MAINBOARD_HAS_LIBGFXINIT select MAINBOARD_HAS_LPC_TPM select MAINBOARD_HAS_TPM1 select SOC_INTEL_COMETLAKE_1 diff --git a/src/mainboard/purism/librem_cnl/variants/librem_mini/gma-mainboard.ads b/src/mainboard/purism/librem_cnl/variants/librem_mini/gma-mainboard.ads new file mode 100644 index 0000000000..5494485678 --- /dev/null +++ b/src/mainboard/purism/librem_cnl/variants/librem_mini/gma-mainboard.ads @@ -0,0 +1,16 @@ +-- SPDX-License-Identifier: GPL-2.0-or-later + +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, -- DisplayPort connector + DP2, -- HDMI connector through Parade DP175 LSPCON + others => Disabled); + +end GMA.Mainboard; -- cgit v1.2.3