summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/smmrelocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/icelake/smmrelocate.c')
-rw-r--r--src/soc/intel/icelake/smmrelocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/icelake/smmrelocate.c b/src/soc/intel/icelake/smmrelocate.c
index 4e2d6840bb..926ef63dbf 100644
--- a/src/soc/intel/icelake/smmrelocate.c
+++ b/src/soc/intel/icelake/smmrelocate.c
@@ -255,7 +255,7 @@ static void setup_ied_area(struct smm_relocation_params *params)
void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
size_t *smm_save_state_size)
{
- struct device *dev = SA_DEV_ROOT;
+ struct device *dev = pcidev_path_on_root(SA_DEVFN_ROOT);
printk(BIOS_DEBUG, "Setting up SMI for CPU\n");