soc/intel/skylake: Move soc_fsp_load
Move this function into the compilation unit where it is called. Change-Id: Ia4bdcd545827c2564430521a98246fc96bf0ba92 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50796 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
c027ece821
commit
1999bc5d00
@ -74,11 +74,6 @@ void soc_init_pre_device(void *chip_info)
|
|||||||
pcie_rp_update_devicetree(pch_lp_rp_groups);
|
pcie_rp_update_devicetree(pch_lp_rp_groups);
|
||||||
}
|
}
|
||||||
|
|
||||||
void soc_fsp_load(void)
|
|
||||||
{
|
|
||||||
fsps_load();
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct device_operations pci_domain_ops = {
|
static struct device_operations pci_domain_ops = {
|
||||||
.read_resources = &pci_domain_read_resources,
|
.read_resources = &pci_domain_read_resources,
|
||||||
.set_resources = &pci_domain_set_resources,
|
.set_resources = &pci_domain_set_resources,
|
||||||
|
@ -176,6 +176,11 @@ static void post_mp_init(void)
|
|||||||
printk(BIOS_CRIT, "CRITICAL ERROR: MP post init failed\n");
|
printk(BIOS_CRIT, "CRITICAL ERROR: MP post init failed\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void soc_fsp_load(void)
|
||||||
|
{
|
||||||
|
fsps_load();
|
||||||
|
}
|
||||||
|
|
||||||
static const struct mp_ops mp_ops = {
|
static const struct mp_ops mp_ops = {
|
||||||
/*
|
/*
|
||||||
* Skip Pre MP init MTRR programming as MTRRs are mirrored from BSP,
|
* Skip Pre MP init MTRR programming as MTRRs are mirrored from BSP,
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
#define FSP_MEM_UPD FSP_M_CONFIG
|
#define FSP_MEM_UPD FSP_M_CONFIG
|
||||||
|
|
||||||
void mainboard_silicon_init_params(FSP_S_CONFIG *params);
|
void mainboard_silicon_init_params(FSP_S_CONFIG *params);
|
||||||
void soc_fsp_load(void);
|
|
||||||
void soc_init_pre_device(void *chip_info);
|
void soc_init_pre_device(void *chip_info);
|
||||||
void soc_irq_settings(FSP_SIL_UPD *params);
|
void soc_irq_settings(FSP_SIL_UPD *params);
|
||||||
const char *soc_acpi_name(const struct device *dev);
|
const char *soc_acpi_name(const struct device *dev);
|
||||||
|
Reference in New Issue
Block a user