diff options
Diffstat (limited to 'src/soc/intel/quark')
-rw-r--r-- | src/soc/intel/quark/romstage/fsp1_1.c | 2 | ||||
-rw-r--r-- | src/soc/intel/quark/romstage/fsp2_0.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/quark/romstage/fsp1_1.c b/src/soc/intel/quark/romstage/fsp1_1.c index d5c5f19b4e..88f7376ede 100644 --- a/src/soc/intel/quark/romstage/fsp1_1.c +++ b/src/soc/intel/quark/romstage/fsp1_1.c @@ -84,7 +84,7 @@ void soc_memory_init_params(struct romstage_params *params, size_t rmu_data_len; /* Locate the configuration data from devicetree.cb */ - dev = dev_find_slot(0, LPC_DEV_FUNC); + dev = pcidev_path_on_root(LPC_DEV_FUNC); if (!dev) { printk(BIOS_CRIT, "Error! Device (PCI:0:%02x.%01x) not found, " diff --git a/src/soc/intel/quark/romstage/fsp2_0.c b/src/soc/intel/quark/romstage/fsp2_0.c index 3e6198805d..23051bde6d 100644 --- a/src/soc/intel/quark/romstage/fsp2_0.c +++ b/src/soc/intel/quark/romstage/fsp2_0.c @@ -120,7 +120,7 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *fspm_upd, uint32_t version) die("Microcode file (rmu.bin) not found."); /* Locate the configuration data from devicetree.cb */ - dev = dev_find_slot(0, LPC_DEV_FUNC); + dev = pcidev_path_on_root(LPC_DEV_FUNC); if (!dev) die("ERROR - LPC device not found!"); config = dev->chip_info; |