summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/smmrelocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/skylake/smmrelocate.c')
-rw-r--r--src/soc/intel/skylake/smmrelocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/smmrelocate.c b/src/soc/intel/skylake/smmrelocate.c
index 12ed26a56e..72861874c9 100644
--- a/src/soc/intel/skylake/smmrelocate.c
+++ b/src/soc/intel/skylake/smmrelocate.c
@@ -265,7 +265,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");