soc/amd/phoenix: Makefile change to include split hash table

Include multiple hash tables into relevant CBFS.

BUG=b:277292697
TEST=Ensure that all multiple hash tables are part of Myst BIOS image
with PSP verstage enabled.

Change-Id: I1601f4a01db5b2bbf8b5636ef9e69e41c1d9a980
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76589
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2023-07-14 16:30:07 -06:00 committed by Martin L Roth
parent 2c828436a7
commit 647abfd1d4
1 changed files with 12 additions and 0 deletions

View File

@ -338,6 +338,18 @@ build_complete:: $(obj)/amdfw_a.rom $(obj)/amdfw_b.rom
-n apu/amdfw_a_hash -t raw
$(CBFSTOOL) $(obj)/coreboot.rom add -r FW_MAIN_B -f $(obj)/amdfw_b.rom.signed.hash \
-n apu/amdfw_b_hash -t raw
if [ -n "$(wildcard $(obj)/amdfw_a.rom.signed.1.hash)" ]; then \
$(CBFSTOOL) $(obj)/coreboot.rom add -r FW_MAIN_A -f \
$(obj)/amdfw_a.rom.signed.1.hash -n apu/amdfw_a_hash1 -t raw; \
$(CBFSTOOL) $(obj)/coreboot.rom add -r FW_MAIN_B -f \
$(obj)/amdfw_b.rom.signed.1.hash -n apu/amdfw_b_hash1 -t raw; \
fi
if [ -n "$(wildcard $(obj)/amdfw_a.rom.signed.2.hash)" ]; then \
$(CBFSTOOL) $(obj)/coreboot.rom add -r FW_MAIN_A -f \
$(obj)/amdfw_a.rom.signed.2.hash -n apu/amdfw_a_hash2 -t raw; \
$(CBFSTOOL) $(obj)/coreboot.rom add -r FW_MAIN_B -f \
$(obj)/amdfw_b.rom.signed.2.hash -n apu/amdfw_b_hash2 -t raw; \
fi
endif # CONFIG_SEPARATE_SIGNED_PSPFW
endif