From 1cffc55d35ee421f126d5491f2a60943dc6c6255 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 19 Oct 2022 20:08:35 +0200 Subject: util/amdfwutil: Fix adding microcode binaries Change-Id: I726df4ff97688f4c48961e6e61672cef6c3b7aff Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/68573 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- util/amdfwtool/amdfwtool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util') 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); } } -- cgit v1.2.3