mb/google/brya: Split gma-mainboards for different baseboards

Allow different gma-mainboards configs for different baseboards
as they support varying display interfaces.  Set Brya to eDP only
and Brask to HDMI only.

BUG=b:277861633
BRANCH=firmware-brya-14505.B
TEST=Builds and SoL functions on both brya and brask varaints

Change-Id: Iaf3f35b009d53e50723e4aa82c0f4932783f9bb9
Signed-off-by: Tarun Tuli <taruntuli@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74696
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
This commit is contained in:
Tarun Tuli
2023-05-04 12:29:38 +00:00
committed by Felix Held
parent af879f2d34
commit 6711731818
5 changed files with 17 additions and 1 deletions

View File

@ -4,7 +4,6 @@ verstage-$(CONFIG_CHROMEOS) += chromeos.c
romstage-$(CONFIG_CHROMEOS) += chromeos.c romstage-$(CONFIG_CHROMEOS) += chromeos.c
romstage-y += romstage.c romstage-y += romstage.c
romstage-$(CONFIG_MAINBOARD_USE_EARLY_LIBGFXINIT) += gma-mainboard.ads
ramstage-$(CONFIG_CHROMEOS) += chromeos.c ramstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-y += mainboard.c ramstage-y += mainboard.c

View File

@ -1,6 +1,7 @@
bootblock-y += gpio.c bootblock-y += gpio.c
romstage-y += memory.c romstage-y += memory.c
romstage-$(CONFIG_MAINBOARD_USE_EARLY_LIBGFXINIT) += gma-mainboard.ads
romstage-y += gpio.c romstage-y += gpio.c
ramstage-y += gpio.c ramstage-y += gpio.c

View File

@ -0,0 +1,15 @@
-- 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 :=
( HDMI1,
HDMI2,
HDMI3,
others => Disabled);
end GMA.Mainboard;

View File

@ -2,6 +2,7 @@ bootblock-y += gpio.c
romstage-y += memory.c romstage-y += memory.c
romstage-y += gpio.c romstage-y += gpio.c
romstage-$(CONFIG_MAINBOARD_USE_EARLY_LIBGFXINIT) += gma-mainboard.ads
ramstage-y += gpio.c ramstage-y += gpio.c
ramstage-y += ramstage.c ramstage-y += ramstage.c