[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/boot/common/src/uboot/include/bootimg.h b/boot/common/src/uboot/include/bootimg.h
new file mode 100644
index 0000000..be6910e
--- /dev/null
+++ b/boot/common/src/uboot/include/bootimg.h
@@ -0,0 +1,50 @@
+
+
+#ifndef _BOOT_IMAGE_H_
+#define _BOOT_IMAGE_H_
+
+typedef struct boot_img_hdr boot_img_hdr;
+
+#define BOOT_MAGIC "ANDROID!"
+#define BOOT_MAGIC_SIZE 8
+#define BOOT_NAME_SIZE 16
+#define BOOT_ARGS_SIZE 512
+
+struct boot_img_hdr
+{
+ unsigned char magic[BOOT_MAGIC_SIZE];
+
+ unsigned kernel_size;
+ unsigned kernel_addr;
+
+ unsigned ramdisk_size;
+ unsigned ramdisk_addr;
+
+ unsigned second_size;
+ unsigned second_addr;
+
+ unsigned tags_addr;
+ unsigned page_size;
+ unsigned unused[2];
+
+ unsigned char name[BOOT_NAME_SIZE];
+
+ unsigned char cmdline[BOOT_ARGS_SIZE];
+
+ unsigned id[8];
+};
+
+#if 0
+typedef struct ptentry ptentry;
+
+struct ptentry {
+ char name[16];
+ unsigned start;
+ unsigned length;
+ unsigned flags;
+};
+
+
+#endif
+
+#endif