soc/intel/icelake: Make use of PCH_DEVFN_HDA macro

Change-Id: I3be530072a6981760e9fe31e43741b4b480d045e
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34286
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Subrata Banik 2019-07-12 18:11:29 +05:30
parent 67d2a52214
commit 270bb0a4c4
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
m_cfg->SkipMbpHob = 1; m_cfg->SkipMbpHob = 1;
/* If Audio Codec is enabled, enable FSP UPD */ /* If Audio Codec is enabled, enable FSP UPD */
dev = pcidev_on_root(0x1f, 3); dev = pcidev_path_on_root(PCH_DEVFN_HDA);
if (!dev) if (!dev)
m_cfg->PchHdaEnable = 0; m_cfg->PchHdaEnable = 0;
else else