Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/82583?usp=email )
Change subject: mb/amd/birman/update_devicetree_phoenix_opensil: update DDI1 config ......................................................................
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 --- M src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c 1 file changed, 9 insertions(+), 0 deletions(-)
Approvals: Matt DeVillier: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c b/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c index 8f7803f..f0060b8 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_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(); }