summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-21 13:25:55 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-05-13 08:29:14 +0000
commit14ea5a0947e25084cfd840544ef5990ac95e6cea (patch)
tree6701f3883dad0ec3f438f1ee6a3947ae979be522 /src
parent04ae6aa8addd95dfc13dd332791dda8d6e571909 (diff)
downloadcoreboot-14ea5a0947e25084cfd840544ef5990ac95e6cea.tar.xz
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46627 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/purism/librem_cnl/Kconfig1
-rw-r--r--src/mainboard/purism/librem_cnl/Kconfig.name1
-rw-r--r--src/mainboard/purism/librem_cnl/variants/librem_mini/gma-mainboard.ads16
3 files changed, 17 insertions, 1 deletions
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;