diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-05-19 12:23:40 (GMT) |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-05-26 22:10:49 (GMT) |
commit | 5c390a5b26ce53a6534b99c22bb762484e6b3497 (patch) | |
tree | 9d8118c6b98a3a86bead87042681e9ac0fab87f0 /spl | |
parent | 7b1a411743db47648b2955c414a71836823acfd9 (diff) | |
download | u-boot-fsl-qoriq-5c390a5b26ce53a6534b99c22bb762484e6b3497.tar.xz |
arm:at91: enable ROM loadable atmel image
For sama5d3xek we need to modify the SPL image for correct detection by ROM
code.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Tested-by: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'spl')
-rw-r--r-- | spl/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile index bfb7c8a..bf677aa 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -183,6 +183,17 @@ MKIMAGEFLAGS_MLO.byteswap = -T omapimage -n byteswap -a $(CONFIG_SPL_TEXT_BASE) MLO MLO.byteswap: $(obj)/u-boot-spl.bin $(call if_changed,mkimage) +MKIMAGEFLAGS_boot.bin = -T atmelimage + +ifeq ($(CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER),y) +MKIMAGEFLAGS_boot.bin += -n $(shell $(obj)/../tools/atmel_pmecc_params) + +boot.bin: $(obj)/../tools/atmel_pmecc_params +endif + +boot.bin: $(obj)/u-boot-spl.bin + $(call if_changed,mkimage) + ALL-y += $(obj)/$(SPL_BIN).bin ifdef CONFIG_SAMSUNG |