2009-02-20 16:39:37 +00:00
|
|
|
|
2009-12-02 13:02:20 +00:00
|
|
|
#ifdef CONFIG_ARCH_IMX_INTERNAL_BOOT
|
|
|
|
|
2012-07-31 12:09:26 +00:00
|
|
|
#ifdef CONFIG_ARCH_IMX_INTERNAL_BOOT_SERIAL
|
|
|
|
#define PRE_IMAGE \
|
|
|
|
.pre_image : { \
|
|
|
|
KEEP(*(.flash_header_0x0*)) \
|
|
|
|
KEEP(*(.dcd_entry_0x0*)) \
|
|
|
|
KEEP(*(.image_len_0x0*)) \
|
|
|
|
. = 0x400; \
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
|
2009-12-02 13:02:20 +00:00
|
|
|
#define PRE_IMAGE \
|
|
|
|
.pre_image : { \
|
2009-02-20 16:39:37 +00:00
|
|
|
KEEP(*(.flash_header_start*)) \
|
2009-12-02 13:02:20 +00:00
|
|
|
. = 0x100; \
|
2010-10-01 03:40:57 +00:00
|
|
|
KEEP(*(.flash_header_0x0100*)) \
|
|
|
|
KEEP(*(.dcd_entry_0x0100*)) \
|
|
|
|
KEEP(*(.image_len_0x0100*)) \
|
2009-12-02 13:02:20 +00:00
|
|
|
. = 0x400; \
|
2010-10-01 03:40:57 +00:00
|
|
|
KEEP(*(.flash_header_0x0400*)) \
|
|
|
|
KEEP(*(.dcd_entry_0x0400*)) \
|
|
|
|
KEEP(*(.image_len_0x0400*)) \
|
2009-12-02 13:02:20 +00:00
|
|
|
. = 0x1000; \
|
|
|
|
KEEP(*(.flash_header_0x1000*)) \
|
|
|
|
KEEP(*(.dcd_entry_0x1000*)) \
|
|
|
|
KEEP(*(.image_len_0x1000*)) \
|
|
|
|
. = 0x2000; \
|
2009-02-20 16:39:37 +00:00
|
|
|
}
|
2009-12-02 13:02:20 +00:00
|
|
|
#endif
|
2012-07-31 12:09:26 +00:00
|
|
|
#endif
|