aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-05-25 16:26:55 +0800
committerMarshall Dawson <marshalldawson3rd@gmail.com>2021-06-07 17:11:43 +0000
commit826f1c4610a3cd392acc18e4e3511caa3f86b84c (patch)
tree3b00aeb00a18d42c1f998f6e91578eb1e7cfcede /util
parente8e6043489ddef7d25596bdfd16a18ac82062f20 (diff)
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>
Diffstat (limited to 'util')
-rw-r--r--util/amdfwtool/amdfwtool.c4
1 files 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);
}
}