summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/barebox.lds.h
blob: 8e1eccda5b9eae7c50fe2812dc0569228589fca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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