5 #define BOOT_MAGIC "ANDROID!"
6 #define BOOT_MAGIC_SIZE 8
9 typedef struct boot_img_hdr boot_img_hdr;
11 #define ALIGN_SIZE 2048
13 #define MAGIC_NUM 0x54495A4E
15 /* DT kernel header */
17 unsigned int magic_num;
18 unsigned int kernel_addr;
19 unsigned int kernel_size;
22 unsigned int tags_addr;
23 unsigned int page_size;
24 unsigned char cmdline[MAX_NAME];