diff options
Diffstat (limited to 'arch/arm/mach-imx/include/mach/barebox.lds.h')
-rw-r--r-- | arch/arm/mach-imx/include/mach/barebox.lds.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/barebox.lds.h b/arch/arm/mach-imx/include/mach/barebox.lds.h new file mode 100644 index 0000000000..8e1eccda5b --- /dev/null +++ b/arch/arm/mach-imx/include/mach/barebox.lds.h @@ -0,0 +1,22 @@ + +#ifdef CONFIG_ARCH_IMX_INTERNAL_BOOT + +#define PRE_IMAGE \ + .pre_image : { \ + KEEP(*(.flash_header_start*)) \ + . = 0x100; \ + KEEP(*(.flash_header_0x100*)) \ + KEEP(*(.dcd_entry_0x100*)) \ + KEEP(*(.image_len_0x100*)) \ + . = 0x400; \ + KEEP(*(.flash_header_0x400*)) \ + KEEP(*(.dcd_entry_0x400*)) \ + KEEP(*(.image_len_0x400*)) \ + . = 0x1000; \ + KEEP(*(.flash_header_0x1000*)) \ + KEEP(*(.dcd_entry_0x1000*)) \ + KEEP(*(.image_len_0x1000*)) \ + . = 0x2000; \ + } +#endif + |