Update size in MTK headers

This commit is contained in:
topjohnwu
2017-03-13 04:19:30 +08:00
parent 9a7e9b736e
commit 1442e29d0e
5 changed files with 60 additions and 23 deletions

View File

@@ -93,4 +93,10 @@ struct boot_img_hdr
** else: jump to kernel_addr
*/
typedef struct mtk_hdr {
uint8_t magic[4]; /* MTK magic */
uint32_t size; /* Size of the content */
uint8_t name[32]; /* The type of the header */
} mtk_hdr;
#endif