summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/elkhartlake/cpu.c')
-rw-r--r--src/soc/intel/elkhartlake/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/elkhartlake/cpu.c b/src/soc/intel/elkhartlake/cpu.c
index 0788c679f3..bfbb87f804 100644
--- a/src/soc/intel/elkhartlake/cpu.c
+++ b/src/soc/intel/elkhartlake/cpu.c
@@ -16,6 +16,7 @@
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
+#include <types.h>
static void soc_fsp_load(void)
{
@@ -117,7 +118,7 @@ static const struct mp_ops mp_ops = {
void soc_init_cpus(struct bus *cpu_bus)
{
- if (mp_init_with_smm(cpu_bus, &mp_ops))
+ if (mp_init_with_smm(cpu_bus, &mp_ops) != CB_SUCCESS)
printk(BIOS_ERR, "MP initialization failure.\n");
/* Thermal throttle activation offset */