diff options
Diffstat (limited to 'tools/mtk_image.h')
-rw-r--r-- | tools/mtk_image.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/mtk_image.h b/tools/mtk_image.h index fad9372100..54a838de86 100644 --- a/tools/mtk_image.h +++ b/tools/mtk_image.h @@ -63,13 +63,13 @@ struct gen_device_header { /* BootROM header definitions */ struct gfh_common_header { - uint8_t magic[3]; - uint8_t version; + uint32_t magic_version; uint16_t size; uint16_t type; }; -#define GFH_HEADER_MAGIC "MMM" +#define GFH_HEADER_MAGIC 0x4D4D4D +#define GFH_HEADER_VERSION_SHIFT 24 #define GFH_TYPE_FILE_INFO 0 #define GFH_TYPE_BL_INFO 1 |