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>
This commit is contained in:
Karthikeyan Ramasubramanian 2023-10-04 18:16:24 -06:00 committed by Martin L Roth
parent 7ab6105aef
commit 1394612116

View file

@ -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"));
}
}