From 826f1c4610a3cd392acc18e4e3511caa3f86b84c Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Tue, 25 May 2021 16:26:55 +0800 Subject: amdfwtool: Print the entry type when dumping the firmwares Change-Id: I07bf10e16a42a2b2ab784ee6ac4a4465b7412da6 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/54900 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- util/amdfwtool/amdfwtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 57424b985a..65c908b121 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -650,7 +650,7 @@ static void dump_psp_firmwares(amd_fw_entry *fw_table) printf("PSP firmware components:"); for (index = fw_table; index->type != AMD_FW_INVALID; index++) { 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:"); for (index = fw_table; index->type != AMD_BIOS_INVALID; index++) { if (index->filename) - printf(" filename=%s\n", index->filename); + printf(" %2x: %s\n", index->type, index->filename); } } -- cgit v1.2.3