Attention is currently required from: Anil Kumar K, Jérémy Compostella, Krishna P Bhat D, Rizwan Qureshi, sridhar siricilla.
Anil Kumar K has uploaded a new patch set (#8) to the change originally created by Krishna P Bhat D. ( https://review.coreboot.org/c/coreboot/+/77069?usp=email )
The following approvals got outdated and were removed: Code-Review+1 by Anil Kumar K, Verified+1 by build bot (Jenkins)
Change subject: soc/intel/cse: Implement APIs to access PSR backup status in CMOS ......................................................................
soc/intel/cse: Implement APIs to access PSR backup status in CMOS
PSR data is created and stored in CSE data partition. In platforms that employ CSE Lite SKU firmware, a firmware downgrade involves clearing of CSE data partition which results in PSR data being lost. The PSR data needs to be preserved across the firmware downgrade flow. CSE Lite SKU firmware supports command to backup PSR data. Since firmware downgrade and PSR data backup flows involve global resets, there is a need to track the PSR data backup status across resets. So adding a CMOS variable for the same.
This patch implements API to access PSR backup status stored in CMOS. The get API allows to retrieve the PSR backup status from CMOS memory. The update API allows to update the PSR backup status in CMOS.
BRANCH=None BUG=b:273207144 TEST=Able to retrieve PSR backup status across resets.
Change-Id: I270894e3e08dd50ca88e5402b59c211d7e693d14 Signed-off-by: Krishna Prasad Bhat krishna.p.bhat.d@intel.com Signed-off-by: Rizwan Qureshi rizwan.qureshi@intel.com --- M src/soc/intel/common/block/cse/cse_lite_cmos.c M src/soc/intel/common/block/cse/cse_lite_cmos.h M src/soc/intel/common/block/include/intelblocks/cse.h 3 files changed, 89 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/77069/8