amdfwtool: Print the entry type when dumping the firmwares

Change-Id: I07bf10e16a42a2b2ab784ee6ac4a4465b7412da6
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54900
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Zheng Bao 2021-05-25 16:26:55 +08:00 committed by Marshall Dawson
parent e8e6043489
commit 826f1c4610
1 changed files with 2 additions and 2 deletions

View File

@ -650,7 +650,7 @@ static void dump_psp_firmwares(amd_fw_entry *fw_table)
printf("PSP firmware components:"); printf("PSP firmware components:");
for (index = fw_table; index->type != AMD_FW_INVALID; index++) { for (index = fw_table; index->type != AMD_FW_INVALID; index++) {
if (index->filename) if (index->filename)
printf(" filename=%s\n", index->filename); printf(" %2x: %s\n", index->type, index->filename);
} }
} }
@ -661,7 +661,7 @@ static void dump_bdt_firmwares(amd_bios_entry *fw_table)
printf("BIOS Directory Table (BDT) components:"); printf("BIOS Directory Table (BDT) components:");
for (index = fw_table; index->type != AMD_BIOS_INVALID; index++) { for (index = fw_table; index->type != AMD_BIOS_INVALID; index++) {
if (index->filename) if (index->filename)
printf(" filename=%s\n", index->filename); printf(" %2x: %s\n", index->type, index->filename);
} }
} }