summaryrefslogtreecommitdiff
path: root/util/amdfwtool/amdfwtool.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/amdfwtool/amdfwtool.h')
-rw-r--r--util/amdfwtool/amdfwtool.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/amdfwtool/amdfwtool.h b/util/amdfwtool/amdfwtool.h
index aa5a98a131..5558f5b7d9 100644
--- a/util/amdfwtool/amdfwtool.h
+++ b/util/amdfwtool/amdfwtool.h
@@ -335,8 +335,13 @@ typedef enum _fwid_type {
FWID_TYPE_UUID,
} fwid_type_t;
+#define UUID_LEN_BYTES 16
typedef struct _amd_fw_entry_hash {
- uint16_t fw_id;
+ fwid_type_t fwid_type;
+ union {
+ uint16_t fw_id;
+ uint8_t uuid[UUID_LEN_BYTES];
+ };
uint16_t subtype;
uint32_t sha_len;
uint8_t sha[SHA384_DIGEST_LENGTH];