summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c9
1 files changed, 9 insertions, 0 deletions
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 <device/device.h>
+#include <soc/amd/phoenix/chip.h>
#include <soc/soc_util.h>
#include <vendorcode/amd/opensil/chip/mpio/chip.h>
+#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();
}