coreboot/src/soc/intel/jasperlake
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
..
acpi soc/intel/jasperlake: Switch to runtime generation of Intel Power Engine 2021-09-10 21:57:35 +00:00
bootblock Move post_codes.h to commonlib/console/ 2021-08-04 15:15:51 +00:00
include/soc soc/intel/{xeon-sp,icl,tgl,jsl,ehl}: add NMI_{EN,STS} registers 2021-09-23 06:31:48 +00:00
romstage soc/intel/{ehl,jsl}: make use of Kconfig options for PRMRR size 2021-09-17 22:22:20 +00:00
acpi.c soc/intel: Constify soc_get_cstate_map() 2021-10-19 14:57:59 +00:00
chip.c soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
chip.h soc/intel: replace dt option PmTimerDisabled by Kconfig 2021-10-12 18:25:35 +00:00
cpu.c cpu/x86/mp_init: use cb_err as mp_init_with_smm return type 2021-10-21 20:51:43 +00:00
dptf.c dptf: Move platform-specific information to struct dptf_platform_info 2021-04-13 08:22:49 +00:00
elog.c soc/intel/*: Update data types for variables holding PCH_DEVFN_* macros 2021-05-03 16:28:53 +00:00
espi.c src: Match array format in function declarations and definitions 2021-05-13 18:34:38 +00:00
finalize.c soc/intel: move disabling of PM Timer to SoC PMC code 2021-10-17 13:57:30 +00:00
fsp_params.c soc/intel: transition full control over PM Timer from FSP to coreboot 2021-10-17 13:59:04 +00:00
gpio.c soc/intel/{xeon-sp,icl,tgl,jsl,ehl}: add NMI_{EN,STS} registers 2021-09-23 06:31:48 +00:00
gspi.c
i2c.c
Kconfig soc/intel: implement ACPI timer disabling per SoC and drop common code 2021-10-17 13:57:53 +00:00
lockdown.c
Makefile.inc cpu/x86/tsc: Deduplicate Makefile logic 2021-09-08 14:35:16 +00:00
me.c
meminit.c spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00
p2sb.c
pmc.c soc/intel: implement ACPI timer disabling per SoC and drop common code 2021-10-17 13:57:53 +00:00
pmutil.c soc/intel/jasperlake: Clear RTC_BATTERY_DEAD 2021-09-20 15:44:09 +00:00
reset.c soc/intel: Use of common reset code block 2020-11-02 10:43:53 +00:00
sd.c
smihandler.c soc/intel/{adl,tgl,jsl}: Add smihandler_soc_disable_busmaster 2021-05-07 06:05:18 +00:00
spi.c
systemagent.c soc/intel: Replace SA_PCIEX_LENGTH Kconfig options 2021-01-30 23:14:08 +00:00
uart.c soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00
xhci.c soc/intel/jasperlake: Set xHCI LFPS period sampling off time 2021-07-26 05:00:51 +00:00