summaryrefslogtreecommitdiff
path: root/util/amdfwtool/data_parse.c
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2021-02-13 21:42:46 -0700
committerPatrick Georgi <pgeorgi@google.com>2021-02-16 08:09:35 +0000
commita8e31caee8ddb9563cdd3bac48ee3b9dc5cf6f48 (patch)
tree4412f8c268acc9fc7a98179633547e884b46e0b2 /util/amdfwtool/data_parse.c
parent6d085446feb3d47154ff9641b66f583ddc218d40 (diff)
downloadcoreboot-a8e31caee8ddb9563cdd3bac48ee3b9dc5cf6f48.tar.xz
util/amdfwtool: Fix all warnings
Fixes these warnings: warning: alignment 1 of 'struct _psp_directory_table' is less than 16 [-Wpacked-not-aligned] warning: alignment 1 of 'struct _psp_combo_directory' is less than 16 [-Wpacked-not-aligned] In function 'find_register_fw_filename_bios_dir': warning: implicit conversion from 'enum _amd_fw_type' to 'amd_bios_type' {aka 'enum _amd_bios_type'} [-Wenum-conversion] BUG=None TEST=Build and verify binaries are identical. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I761d9893ac6737b42af96c4b2a57c5a4fc61ab05 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50643 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/amdfwtool/data_parse.c')
-rw-r--r--util/amdfwtool/data_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/amdfwtool/data_parse.c b/util/amdfwtool/data_parse.c
index 80d8d01aa7..0c2e71d94f 100644
--- a/util/amdfwtool/data_parse.c
+++ b/util/amdfwtool/data_parse.c
@@ -321,7 +321,7 @@ static uint8_t find_register_fw_filename_bios_dir(char *fw_name, char *filename,
fw_type = AMD_BIOS_MP2_CFG;
subprog = 0;
} else {
- fw_type = AMD_FW_SKIP;
+ fw_type = AMD_BIOS_SKIP;
}
} else {
fw_type = AMD_BIOS_INVALID;