aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-10-19 20:08:35 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-21 21:40:08 +0000
commit1cffc55d35ee421f126d5491f2a60943dc6c6255 (patch)
tree172366bd14cdb9b726fbca619fa306496ac5de70 /util
parent3adfeec58fa77cf545fdb176823ce4e581d7fb0b (diff)
util/amdfwutil: Fix adding microcode binaries
Change-Id: I726df4ff97688f4c48961e6e61672cef6c3b7aff Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68573 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util')
-rw-r--r--util/amdfwtool/amdfwtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 555265891f..389be9f0bc 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -833,7 +833,8 @@ static void free_bdt_firmware_filenames(amd_bios_entry *fw_table)
if (index->filename &&
index->type != AMD_BIOS_APCB &&
index->type != AMD_BIOS_BIN &&
- index->type != AMD_BIOS_APCB_BK)
+ index->type != AMD_BIOS_APCB_BK &&
+ index->type != AMD_BIOS_UCODE)
free(index->filename);
}
}