coreboot/src/soc/intel
Felix Held d27ef5bf6f cpu/x86/mp_init: use cb_err as mp_init_with_smm return type
Using cb_err as return type clarifies the meaning of the different
return values. This patch also adds the types.h include that provides
the definition of the cb_err enum and checks the return value of
mp_init_with_smm against the enum values instead of either checking if
it's non-zero or less than zero to handle the error case.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ibcd4a9a63cc87fe176ba885ced0f00832587d492
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58491
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2021-10-21 20:51:43 +00:00
..
alderlake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
apollolake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
baytrail cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
braswell cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
broadwell ACPI: Have common acpi_fill_mcfg() 2021-10-18 14:20:28 +00:00
cannonlake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
common soc/intel/{skl,apl}: don't run or even include SGX code if disabled 2021-10-20 15:42:51 +00:00
denverton_ns cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
elkhartlake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
icelake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
jasperlake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
quark ACPI: Have common acpi_fill_mcfg() 2021-10-18 14:20:28 +00:00
skylake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
tigerlake cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
xeon_sp cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
Kconfig
Makefile.inc soc/intel/common/cse: Add support for stitching CSE components 2021-10-19 16:09:08 +00:00