From af421987295864708d365bf01b302aff30b4062c Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 17 May 2024 22:28:57 +0200 Subject: mb/amd/birman/update_devicetree_phoenix_opensil: update DDI1 config Use the now common get_ddi1_type function to update the connector type of the DDI1 port to match the display output extension card plugged into the reference board. Signed-off-by: Felix Held Change-Id: I7c51eab0d32e0a1708da415f690689a8ec38dcd3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/82583 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c b/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c index 8f7803f57c..f0060b8a63 100644 --- a/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c +++ b/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c @@ -1,8 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include #include +#include "display_card_type.h" #include "update_devicetree.h" static void mainboard_update_mpio(void) @@ -39,7 +41,14 @@ static void mainboard_update_mpio(void) } } +static void mainboard_update_ddi(void) +{ + struct soc_amd_phoenix_config *cfg = config_of_soc(); + cfg->ddi[1].connector_type = get_ddi1_type(); +} + void mainboard_update_devicetree_opensil(void) { mainboard_update_mpio(); + mainboard_update_ddi(); } -- cgit v1.2.3