coreboot/src/drivers
Subrata Banik 25d100243c drivers/intel/fsp2_0: Apply FSP Reset Status W/A for MultiPhaseSiInit
This patch calls into fsp_get_pch_reset_status() to get the
MultiPhaseSiInit API return status if
FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN is enabled.

Ideally FSP API should be able to return the status (both success and
error code) upon exiting the FSP API but unfortunately there are some
scenarios in ADL/RPL FSP where MultiPhaseSiInit API is unable to return
any ERROR status. Hence, this function can be considered as an
additional hook to read the FSP reset status by reading the dedicated
HOB without relying on the FSP API exit status code.

Any SoC platform that selects the FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN
config will call into this newly added API to get the FSP return status
from MultiPhaseSiInit.

BUG=b:278665768
TEST=Able to select FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN for ADL/RPL SoC
code and call into this API to know the return status from
MultiPhaseSiInit FSP API.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I749c9986e17e4cbab333b29425c9a4a4ba4128fa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74784
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Himanshu Sahdev <himanshu.sahdev@intel.com>
2023-05-02 10:51:17 +00:00
..
acpi/thermal_zone
amd treewide: Remove unused <cpu/amd/mtrr.h> 2023-01-12 05:07:21 +00:00
ams
analogix/anx7625
asmedia
aspeed src/drivers: Remove unnecessary space after casts 2022-11-22 13:40:56 +00:00
broadcom
camera
crb Revert "security/tpm/: turn tis_{init,open} into tis_probe" 2022-12-23 21:31:11 +00:00
efi drivers/efi: Fix linker error when SMM phase uses option API 2023-04-14 09:41:53 +00:00
elog drivers/elog/gsmi.c: Fix compiling for 64bit 2022-09-01 16:43:33 +00:00
emulation/qemu treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
generic treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
genesyslogic
gfx/generic
i2c treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
intel drivers/intel/fsp2_0: Apply FSP Reset Status W/A for MultiPhaseSiInit 2023-05-02 10:51:17 +00:00
ipmi drivers/ipmi: Replace <build.h> with <version.h> 2023-04-21 15:12:08 +00:00
lenovo
maxim
mipi src/drivers: Clean up includes 2022-10-26 16:38:45 +00:00
mrc_cache treewide: Fix old-style declarations 2023-01-17 04:23:49 +00:00
net treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
nxp/uwb mb/google/brya/var/ghost: Enable NXP UWB SR150 chip 2022-08-17 19:46:07 +00:00
ocp drivers/ocp/vpd: Override mainboard_set_smm_log_level 2023-02-16 00:47:11 +00:00
parade
pc80 vga: Change the arguments of vga_write_text to support extended ASCII 2023-04-28 09:39:06 +00:00
pcie soc/intel/cmn/block/{pcie/rtd3,usb4}: Use helper functions for _DSD 2022-12-05 14:32:04 +00:00
ricoh/rce822
secunet/dmi
siemens/nc_fpga treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
sil/3114
smbus drivers/smbus: initialize SC16IS7XX I2C to UART converter chip 2022-10-03 16:14:25 +00:00
smmstore drivers/smmstore: Fix fmap_config.h dependency 2023-02-13 12:52:11 +00:00
soundwire
spi drivers/spi/spi_flash.c: Prefer 'if' over '#if" 2023-03-26 21:02:35 +00:00
ti
tpm drivers/tpm: Move TPM init to end of device init phase 2022-10-20 17:22:57 +00:00
uart treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
usb treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
vpd drivers/vpd: Demote FMAP not found printk from error to warn 2023-02-10 08:28:49 +00:00
wifi/generic treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
wwan/fm drivers/wwan/fm: Use RTD3 root port mutex for reset methods 2023-04-05 12:45:45 +00:00