diff options
author | Anil Kumar <anil.kumar.k@intel.com> | 2023-05-01 11:44:47 -0700 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-10-04 05:51:19 +0000 |
commit | a2d10bb029e7da6d18f50cc694b9da54deb462b2 (patch) | |
tree | ef295b496e9403c6c8e297db37b456abd4720099 /tests/stubs/die.c | |
parent | 7b2edc3b6b5ecd37112d5e07f4601b68b2aea038 (diff) |
soc/intel/cse: Check PSR bit before issuing PSR backup command
Get PSR bit state using MKHI_FWCAPS_GET_FW_FEATURE_STATE HECI command
Use this bit info to check if SKU supports PSR and consequently issue
PSR_HECI_FW_DOWNGRADE_BACKUP command for PSR data backup during
downgrade.
BUG=b:273207144
TEST=build CB image and boot on google/rex board. Check for
"PSR is supported in this SKU" message in coreboot logs to confirm
that PSR bit is set in SKU
Signed-off-by: Anil Kumar <anil.kumar.k@intel.com>
Change-Id: I6e92341a9dc799146eb8f1a70b3a4a16fd1aa0ae
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74874
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'tests/stubs/die.c')
0 files changed, 0 insertions, 0 deletions