diff options
author | Shuo Liu <shuo.liu@intel.com> | 2024-04-28 18:42:15 +0800 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-05-07 09:26:58 +0000 |
commit | 775c0e6de28390ac0d5688bfce1d7437878eb55f (patch) | |
tree | 487f6c59fd06b9c79b8c7249b13db1d5c1022856 | |
parent | 111bf46f7b579ea67f23a7caa570f3535edadffe (diff) |
soc/intel/xeon_sp/spr: Print return codes for mp_init_with_smm
TEST=Build and boot on intel/archercity CRB
Change-Id: Iee2234a3055fe8a94ecbfc820e9ff9e981f8dff2
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82195
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r-- | src/soc/intel/xeon_sp/spr/cpu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/soc/intel/xeon_sp/spr/cpu.c b/src/soc/intel/xeon_sp/spr/cpu.c index 5014a1378c..ffd30b8361 100644 --- a/src/soc/intel/xeon_sp/spr/cpu.c +++ b/src/soc/intel/xeon_sp/spr/cpu.c @@ -270,6 +270,7 @@ void mp_init_cpus(struct bus *bus) microcode_patch = intel_microcode_find(); intel_microcode_load_unlocked(microcode_patch); - if (mp_init_with_smm(bus, &mp_ops) < 0) - printk(BIOS_ERR, "MP initialization failure.\n"); + enum cb_err ret = mp_init_with_smm(bus, &mp_ops); + if (ret < 0) + printk(BIOS_ERR, "MP initialization failure %d.\n", ret); } |