diff options
author | Krishna P Bhat D <krishna.p.bhat.d@intel.corp-partner.google.com> | 2023-09-21 22:19:47 +0530 |
---|---|---|
committer | sridhar siricilla <siricillasridhar@gmail.com> | 2023-09-23 16:49:13 +0000 |
commit | 64ec6a77be361c748e646af0967d14bdc0c52815 (patch) | |
tree | 4c70c981efdc2694029d7f50167514cf37c55807 /src/security/vboot | |
parent | c3c71c3783c253c6dd9e5fa19ad98f2efcc0c2d4 (diff) |
soc/intel/cse: Move cse_store_rw_fw_version from cse_print_boot_partition_info
cse_store_rw_fw_version() stores CSE RW firmware version in global
variable or cbmem in romstage and ramstage respectively, based on the
stage it is called in. The call to this function is from the
cse_print_boot_partition_info() in cse_get_bp_info.
In the subsequent patches, the idea is to send the cse_get_bp_info early
in romstage and store in cbmem once memory is initialized. So when the
cse_fw_sync is called in early ramstage, the stored cse_bp_info_rsp is
used instead of sending the CSE get boot partition info command again.
To de-link the call to cse_store_rw_fw_version from cse_get_bp_info and
to ensure the CSE RW FW version is stored in all cases, moving the
function to do_cse_fw_sync.
BUG=b:273207144
Change-Id: I0add2c167c85cbddef2ecb4c019061a08562bbdf
Signed-off-by: Krishna Prasad Bhat <krishna.p.bhat.d@intel.com>
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78051
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: sridhar siricilla <siricillasridhar@gmail.com>
Diffstat (limited to 'src/security/vboot')
0 files changed, 0 insertions, 0 deletions