cpu/intel: Replace bsp_init_and_start_aps()
Change-Id: I7176efdd1000789a093a1b4e243b4b150e6bb06f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34864 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@ -161,8 +161,6 @@ void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
|
||||
void smm_initialize(void);
|
||||
void smm_relocate(void);
|
||||
void smm_lock(void);
|
||||
struct bus;
|
||||
void bsp_init_and_start_aps(struct bus *cpu_bus);
|
||||
/* Determine if HyperThreading is disabled. The variable is not valid until
|
||||
* setup_ap_init() has been called. */
|
||||
#endif
|
||||
|
@ -778,7 +778,7 @@ static const struct mp_ops mp_ops = {
|
||||
.post_mp_init = post_mp_init,
|
||||
};
|
||||
|
||||
void bsp_init_and_start_aps(struct bus *cpu_bus)
|
||||
void mp_init_cpus(struct bus *cpu_bus)
|
||||
{
|
||||
if (mp_init_with_smm(cpu_bus, &mp_ops))
|
||||
printk(BIOS_ERR, "MP initialization failure.\n");
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <cpu/intel/microcode.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/common/common.h>
|
||||
#include <device/device.h>
|
||||
|
||||
/* Parallel MP initialization support. */
|
||||
static const void *microcode_patch;
|
||||
@ -110,7 +111,7 @@ static const struct mp_ops mp_ops = {
|
||||
.post_mp_init = post_mp_init,
|
||||
};
|
||||
|
||||
void bsp_init_and_start_aps(struct bus *cpu_bus)
|
||||
void mp_init_cpus(struct bus *cpu_bus)
|
||||
{
|
||||
microcode_patch = intel_microcode_find();
|
||||
|
||||
|
@ -334,7 +334,7 @@ static const struct mp_ops mp_ops = {
|
||||
.post_mp_init = post_mp_init,
|
||||
};
|
||||
|
||||
void bsp_init_and_start_aps(struct bus *cpu_bus)
|
||||
void mp_init_cpus(struct bus *cpu_bus)
|
||||
{
|
||||
if (mp_init_with_smm(cpu_bus, &mp_ops))
|
||||
printk(BIOS_ERR, "MP initialization failure.\n");
|
||||
|
@ -560,7 +560,7 @@ static const struct mp_ops mp_ops = {
|
||||
.post_mp_init = post_mp_init,
|
||||
};
|
||||
|
||||
void bsp_init_and_start_aps(struct bus *cpu_bus)
|
||||
void mp_init_cpus(struct bus *cpu_bus)
|
||||
{
|
||||
if (mp_init_with_smm(cpu_bus, &mp_ops))
|
||||
printk(BIOS_ERR, "MP initialization failure.\n");
|
||||
|
@ -13,8 +13,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
|
||||
void bsp_init_and_start_aps(struct bus *cpu_bus);
|
||||
|
||||
/* These helpers are for performing SMM relocation. */
|
||||
void southbridge_smm_init(void);
|
||||
u32 northbridge_get_tseg_base(void);
|
||||
|
Reference in New Issue
Block a user