summaryrefslogtreecommitdiff
path: root/src/mainboard/google/fizz/variants
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2024-04-13 09:42:39 -0500
committerFelix Held <felix-coreboot@felixheld.de>2024-04-15 13:36:54 +0000
commitc5d191b2920f56dc15ed17d7909f7f7f4b41fad1 (patch)
tree229f5b04d136cb22e673ba54eda06b03db53cd1c /src/mainboard/google/fizz/variants
parentdb3fe7e8ff4d031a63e3a2954f3706ac5aed96ee (diff)
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 <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81901 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/fizz/variants')
-rw-r--r--src/mainboard/google/fizz/variants/endeavour/gma-mainboard.ads18
-rw-r--r--src/mainboard/google/fizz/variants/fizz/gma-mainboard.ads18
-rw-r--r--src/mainboard/google/fizz/variants/karma/gma-mainboard.ads19
3 files changed, 55 insertions, 0 deletions
diff --git a/src/mainboard/google/fizz/variants/endeavour/gma-mainboard.ads b/src/mainboard/google/fizz/variants/endeavour/gma-mainboard.ads
new file mode 100644
index 0000000000..ae2708cf2d
--- /dev/null
+++ b/src/mainboard/google/fizz/variants/endeavour/gma-mainboard.ads
@@ -0,0 +1,18 @@
+-- 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,
+ DP2,
+ HDMI1,
+ HDMI2,
+ others => Disabled);
+
+end GMA.Mainboard;
diff --git a/src/mainboard/google/fizz/variants/fizz/gma-mainboard.ads b/src/mainboard/google/fizz/variants/fizz/gma-mainboard.ads
new file mode 100644
index 0000000000..ae2708cf2d
--- /dev/null
+++ b/src/mainboard/google/fizz/variants/fizz/gma-mainboard.ads
@@ -0,0 +1,18 @@
+-- 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,
+ DP2,
+ HDMI1,
+ HDMI2,
+ others => Disabled);
+
+end GMA.Mainboard;
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;