src/soc/amd/picasso: Add HDMI 2.0 disable setting

hdmi2_disable bit0~3 is used to disable HDMI 2.0 function in DDI0~3

BUG=b:179170193
BRANCH=none
TEST=Build; Verify the UPD was passed to system integrated table

Signed-off-by: Patrick Huang <patrick.huang@amd.corp-partner.google.com>
Change-Id: I383bfd04e01f5202db093105662344869e475746
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52545
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com>
This commit is contained in:
Patrick Huang 2021-04-20 20:40:09 +08:00 committed by Patrick Georgi
parent 02cd6b42b5
commit ed1592b2ec
2 changed files with 7 additions and 0 deletions

View File

@ -174,6 +174,12 @@ struct soc_amd_picasso_config {
uint32_t telemetry_vddcr_soc_slope_mA;
uint32_t telemetry_vddcr_soc_offset;
/*
* HDMI 2.0 disable setting
* bit0~3: disable HDMI 2.0 DDI0~3
*/
uint8_t hdmi2_disable;
struct {
/*
* SDHCI doesn't directly support eMMC. There is an implicit mapping between

View File

@ -111,6 +111,7 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
mcfg->telemetry_vddcr_soc_offset = config->telemetry_vddcr_soc_offset;
mcfg->hd_audio_enable = devtree_hda_dev_enabled();
mcfg->sata_enable = devtree_sata_dev_enabled();
mcfg->hdmi2_disable = config->hdmi2_disable;
mainboard_updm_update(mcfg);
}