diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 4 | ||||
-rw-r--r-- | util/amdfwtool/data_parse.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 3d33d70453..b2b7c42219 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -396,7 +396,7 @@ typedef struct _psp_directory_entry { typedef struct _psp_directory_table { psp_directory_header header; psp_directory_entry entries[]; -} __attribute__((packed)) psp_directory_table; +} __attribute__((packed, aligned(16))) psp_directory_table; #define MAX_PSP_ENTRIES 0x1f @@ -417,7 +417,7 @@ typedef struct _psp_combo_entry { typedef struct _psp_combo_directory { psp_combo_header header; psp_combo_entry entries[]; -} __attribute__((packed)) psp_combo_directory; +} __attribute__((packed, aligned(16))) psp_combo_directory; #define MAX_COMBO_ENTRIES 1 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; |