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:
parent
e8e6043489
commit
826f1c4610
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue