From c5d191b2920f56dc15ed17d7909f7f7f4b41fad1 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sat, 13 Apr 2024 09:42:39 -0500 Subject: mb/google/fizz: Use variant-specific gma-mainboard.ads files The karma variant, being a Chromebase, has an internal eDP output for the built-in display whereas the fizz/endeavour variants do not. Use separate gma-mainboard.ads files so that karma's internal panel works properly with libgfxinit. TEST=build google/fizz (fizz/karma) with libgfxinit enabled, ensure correct gma-mainboard.ads file is included in the build. Change-Id: Ia6aca538ba8c13b48aa80901222071d704b5f0c0 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/81901 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- .../google/fizz/variants/karma/gma-mainboard.ads | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/mainboard/google/fizz/variants/karma/gma-mainboard.ads (limited to 'src/mainboard/google/fizz/variants/karma') diff --git a/src/mainboard/google/fizz/variants/karma/gma-mainboard.ads b/src/mainboard/google/fizz/variants/karma/gma-mainboard.ads new file mode 100644 index 0000000000..fcfbd75a92 --- /dev/null +++ b/src/mainboard/google/fizz/variants/karma/gma-mainboard.ads @@ -0,0 +1,19 @@ +-- 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 := + (eDP, + DP1, + DP2, + HDMI1, + HDMI2, + others => Disabled); + +end GMA.Mainboard; -- cgit v1.2.3