Attention is currently required from: Andrey Petrov, Kapil Porwal, Ronak Kanabar, Subrata Banik.
Hello Andrey Petrov, Kapil Porwal, Ronak Kanabar, Tarun Tuli, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/75921?usp=email
to look at the new patch set (#2).
Change subject: {commonlib/drivers}: Have option to store MRC version inside CBMEM ......................................................................
{commonlib/drivers}: Have option to store MRC version inside CBMEM
This patch introduces CBMEM ID to store the MRC version (similar to existing implementation that stores the FSP-M version inside CBMEM ID) inside cbmem so the version information is available across the different coreboot stages. For example:
* romstage: Use the CBMEM ID version information to check if the MRC cache is valid and need to erase the MRC cache * ramstage: Use the CBMEM ID to store the MRC cache into the non-volatile space.
BUG=b:261689642 TEST=Able to build and boot google/rex and dump the MRC version as below.
cbmem --list CBMEM table of contents: NAME ID START LENGTH ... 21. MRC VERSION 5f43524d 75ffeb60 00000004 ...
localhost ~ # cbmem -r 5f43524d | hexdump 00000000 01 12 07 00
Signed-off-by: Subrata Banik subratabanik@google.com Change-Id: I91f735239b33c6f8ba41c076048903e4b213c6a2 --- M src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h M src/drivers/intel/fsp2_0/memory_init.c M src/drivers/intel/fsp2_0/save_mrc_data.c 3 files changed, 28 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/75921/2