soc/intel/cannonlake: Add config to disable display audio codec

FSP 1263 looks for UPD configuration of "AudioLinkHda"
if false it disables SDI# link for the codec.

Change-Id: I8330f47416e580bf6b9ca1faed1de5cd578d0e2e
Signed-off-by: Selma BENSAID <selma.bensaid@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35078
Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Aamir Bohra 2019-08-23 09:52:11 -07:00 committed by Patrick Georgi
parent 4a86b3b036
commit b0b99058cc
2 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,7 @@ struct soc_intel_cannonlake_config {
/* Enable/Disable HD Audio Link. Muxed with SSP0/SSP1/SNDW1 */ /* Enable/Disable HD Audio Link. Muxed with SSP0/SSP1/SNDW1 */
uint8_t PchHdaAudioLinkHda; uint8_t PchHdaAudioLinkHda;
uint8_t PchHdaIDispCodecDisconnect;
uint8_t PchHdaAudioLinkDmic0; uint8_t PchHdaAudioLinkDmic0;
uint8_t PchHdaAudioLinkDmic1; uint8_t PchHdaAudioLinkDmic1;
uint8_t PchHdaAudioLinkSsp0; uint8_t PchHdaAudioLinkSsp0;

View File

@ -205,6 +205,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
/* Audio */ /* Audio */
params->PchHdaDspEnable = config->PchHdaDspEnable; params->PchHdaDspEnable = config->PchHdaDspEnable;
params->PchHdaIDispCodecDisconnect = config->PchHdaIDispCodecDisconnect;
params->PchHdaAudioLinkHda = config->PchHdaAudioLinkHda; params->PchHdaAudioLinkHda = config->PchHdaAudioLinkHda;
params->PchHdaAudioLinkDmic0 = config->PchHdaAudioLinkDmic0; params->PchHdaAudioLinkDmic0 = config->PchHdaAudioLinkDmic0;
params->PchHdaAudioLinkDmic1 = config->PchHdaAudioLinkDmic1; params->PchHdaAudioLinkDmic1 = config->PchHdaAudioLinkDmic1;