From 13946121164b38ae946dfb8d51a8fac87310e6c0 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Wed, 4 Oct 2023 18:16:24 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78236 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/soc/amd/phoenix/psp_verstage/chipset.c | 6 +++--- 1 file 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")); } } -- cgit v1.2.3