]> git.sur5r.net Git - u-boot/blobdiff - tools/imximage.h
arm: at91sam9n12: change EBI IO to high drive mode
[u-boot] / tools / imximage.h
index 1445c1ee074aed7d40a939e4a3b859906168b70a..5c929e4987e671751853973c72542770172ad6e1 100644 (file)
@@ -157,13 +157,14 @@ typedef struct {
        dcd_v2_t dcd_table;
 } imx_header_v2_t;
 
+/* The header must be aligned to 4k on MX53 for NAND boot */
 struct imx_header {
        union {
                imx_header_v1_t hdr_v1;
                imx_header_v2_t hdr_v2;
        } header;
        uint32_t flash_offset;
-};
+} __attribute__((aligned(4096)));
 
 typedef void (*set_dcd_val_t)(struct imx_header *imxhdr,
                                        char *name, int lineno,