diff options
author | Subrata Banik <subratabanik@google.com> | 2023-06-19 11:32:19 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-06-23 04:49:22 +0000 |
commit | 79274e01a3722a559f46c3ae284e7057b54cbecb (patch) | |
tree | 972ad3651f2088eca8cf1f8455d82e187d2f7ed8 /src/commonlib/bsd/include | |
parent | ea13dc3562d489572d358160f1558e833d128541 (diff) |
driver/intel/fsp2_0: Add support to store MRC cache using MRC version
This patch uses the "generic" variable name as "version" while storing
the MRC cache data instead referring to the FSP-M version or MRC
version. Hence, updated all the instances of `fsp_version/fspm_version`
with `version`.
Also introduces the new option to the MRC cache
version that allows SoC users to store the MRC cache version based on
the supported EDK2 version. Intel FSP built with EDK2 version 202302
onwards has support to retrieve the MRC version by directly parsing
the binary.
Additionally, added the helper function `fsp_mrc_version()` and
correspondingĀ header file to read the MRC version from the FSP binary.
BUG=b:261689642
TEST=Able to build and boot google/rex and google/omnigul.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: Ia8af53aed674ad4a3b426264706264df91d9c6b0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75920
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/commonlib/bsd/include')
0 files changed, 0 insertions, 0 deletions