summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/cpu
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-11-23 13:17:56 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-01-10 16:11:32 +0000
commit9a1b720b1f9ea5e589c3e93d16e9a161683f2a4d (patch)
tree84f6773071e5bc8f8f7052abf312974cfda5af49 /src/soc/intel/broadwell/cpu
parent03d9298490b452e53a9568d13c7e8c0119bb2e74 (diff)
soc/intel/broadwell: Use `mp_cpu_bus_init`
This is needed to allow switching to Haswell CPU code in the future. Change-Id: Ic642f32f9c4a269a66ac470b7a7217f20ff8bfba Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46886 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell/cpu')
-rw-r--r--src/soc/intel/broadwell/cpu/cpu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/soc/intel/broadwell/cpu/cpu.c b/src/soc/intel/broadwell/cpu/cpu.c
index 72efa3dc81..7005c4b18c 100644
--- a/src/soc/intel/broadwell/cpu/cpu.c
+++ b/src/soc/intel/broadwell/cpu/cpu.c
@@ -616,10 +616,8 @@ static const struct mp_ops mp_ops = {
.post_mp_init = post_mp_init,
};
-void broadwell_init_cpus(struct device *dev)
+void mp_init_cpus(struct bus *cpu_bus)
{
- struct bus *cpu_bus = dev->link_list;
-
if (mp_init_with_smm(cpu_bus, &mp_ops))
printk(BIOS_ERR, "MP initialization failure.\n");
}