coreboot/src
Subrata Banik 1b96bff27e {drivers/intel/fsp2_0, soc/intel}: Rename SAVE_MRC_AFTER_FSPS config
This patch renames `SAVE_MRC_AFTER_FSPS` config to
`FSP_NVS_DATA_POST_SILICON_INIT` to highlight the violation in the Xeon
SP FSP implementation, where the FSP Silicon Init API produces
Non-Volatile Storage (NVS) instead of the FSP-Memory Init API.

According to the FSP 2.x specification (section 11.3), the FSP
populates the NVS data using the FSP_NON_VOLATILE_STORAGE_HOB and
expects the boot firmware to parse the FSP_NON_VOLATILE_STORAGE_HOB
after the FspMemoryInit() API in API mode.

However, not all Intel SoC platforms that support the FSP 2.x
specification adhere to this requirement. For example, the FSP binary
for XEON SP platform produces NVS data (aka
FSP_NON_VOLATILE_STORAGE_HOB) after the FspSiliconInit() API.
Therefore, attempting to locate NVS data after the FspMemoryInit() API
on these platforms would result in an error. The `save_mrc_data.c`
implementation provides the required hooks to locate the NVS post
FSP-Silicon Init and store into Non-Volatile Storage.

BUG=b:296704537
TEST=Able to build and boot Intel Xeon SP w/o any functional impact.

Change-Id: I815a64263fa1415bfe30bb3c1c35e4adee307e86
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77616
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Johnny Lin <Johnny_Lin@wiwynn.com>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
2023-09-04 05:37:15 +00:00
..
acpi acpi/acpi.c: Accomodate 64bit MMCONF base in MCFG table 2023-09-01 21:13:09 +00:00
arch arch/x86/cpu: Remove unnecessary parentheses 2023-08-28 03:11:35 +00:00
commonlib commonlib: Add ELOG_TYPE_FW_SPLASH_SCREEN eventLog 2023-08-29 06:15:36 +00:00
console commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles 2023-08-14 15:14:45 +00:00
cpu cpu/x86/smm: Don't save EFER 2023-08-21 12:14:25 +00:00
device src/device/dram/Makefile.inc: specify one file per line 2023-08-28 17:47:55 +00:00
drivers {drivers/intel/fsp2_0, soc/intel}: Rename SAVE_MRC_AFTER_FSPS config 2023-09-04 05:37:15 +00:00
ec ec/starlabs/merlin: Unconditionally enable the Keyboard Backlight 2023-08-30 14:11:44 +00:00
include acpi/acpi.c: Accomodate 64bit MMCONF base in MCFG table 2023-09-01 21:13:09 +00:00
lib memrange: Honor limit in the last step of top-down stealing 2023-08-26 20:29:37 +00:00
mainboard mb/google/rex/var/screebo: Set SAGV_POINTS_0_1_2 to avoid hang 2023-09-04 04:31:48 +00:00
northbridge haswell NRI: Collect SPD info 2023-08-30 15:58:00 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles 2023-08-14 15:14:45 +00:00
soc {drivers/intel/fsp2_0, soc/intel}: Rename SAVE_MRC_AFTER_FSPS config 2023-09-04 05:37:15 +00:00
southbridge sb/intel/lynxpoint/acpi: Update xHCI workarounds for LPT 2023-08-17 15:02:44 +00:00
superio superio/smsc/sch5147/acpi/superio: use IO instead of FixedIO resource 2023-08-11 23:11:57 +00:00
vendorcode vc/intel/fsp/mtl: Update header files from 3292.83 to 3323.84 2023-09-01 10:12:47 +00:00
Kconfig Kconfig: Add option to make clang the default compiler 2023-08-24 22:08:59 +00:00