summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2023-10-04 18:16:24 -0600
committerMartin L Roth <gaumless@gmail.com>2023-10-20 19:32:27 +0000
commit13946121164b38ae946dfb8d51a8fac87310e6c0 (patch)
tree7b753e07809e705f78a632d44fedd0375be8f8e3
parent7ab6105aef46de60953e63a41abf907db44c8392 (diff)
downloadcoreboot-13946121164b38ae946dfb8d51a8fac87310e6c0.tar.gz
coreboot-13946121164b38ae946dfb8d51a8fac87310e6c0.tar.bz2
coreboot-13946121164b38ae946dfb8d51a8fac87310e6c0.zip
soc/amd/phoenix/psp_verstage: Fix the hash file names
Fix the hash file names to be used to verify signed PSP binaries when booting with VBOOT FW Slot B. BUG=None TEST=Build and boot to OS in Myst with PSP Verstage enabled using both VBOOT slots A and B. Change-Id: I89f02922bc901d8ac71d48bf5128fe6ecead43a0 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78236 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
-rw-r--r--src/soc/amd/phoenix/psp_verstage/chipset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/phoenix/psp_verstage/chipset.c b/src/soc/amd/phoenix/psp_verstage/chipset.c
index cf03272b964e..b7efdc9332e1 100644
--- a/src/soc/amd/phoenix/psp_verstage/chipset.c
+++ b/src/soc/amd/phoenix/psp_verstage/chipset.c
@@ -140,11 +140,11 @@ void update_psp_fw_hash_tables(void)
PSP_FW_HASH_FILE_NAME("a", "2"));
} else {
update_one_psp_fw_hash_table(CMD_SET_FW_HASH_TABLE_STAGE1,
- PSP_FW_HASH_FILE_NAME("a", ""));
+ PSP_FW_HASH_FILE_NAME("b", ""));
update_one_psp_fw_hash_table(CMD_SET_FW_HASH_TABLE_STAGE2,
- PSP_FW_HASH_FILE_NAME("a", "1"));
+ PSP_FW_HASH_FILE_NAME("b", "1"));
update_one_psp_fw_hash_table(CMD_SET_FW_HASH_TABLE_TOS,
- PSP_FW_HASH_FILE_NAME("a", "2"));
+ PSP_FW_HASH_FILE_NAME("b", "2"));
}
}