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>
diff --git a/src/soc/amd/phoenix/psp_verstage/chipset.c b/src/soc/amd/phoenix/psp_verstage/chipset.c
index cf03272..b7efdc9 100644
--- a/src/soc/amd/phoenix/psp_verstage/chipset.c
+++ b/src/soc/amd/phoenix/psp_verstage/chipset.c
@@ -140,11 +140,11 @@
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"));
}
}