diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-05-17 22:28:57 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-05-22 15:45:55 +0000 |
commit | af421987295864708d365bf01b302aff30b4062c (patch) | |
tree | 0b2045fb4748ee5331b2b004b829ce81dd7cf74a /src | |
parent | 84f8b8eb60505af75f8e6000dfe172c0420bf7c8 (diff) |
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 <felix-coreboot@felixheld.de>
Change-Id: I7c51eab0d32e0a1708da415f690689a8ec38dcd3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82583
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c | 9 |
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(); } |