
Hi Andreas,
On 04/23/2014 10:29 PM, Andreas Bießmann wrote:
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
For whole series, Tested-by: Bo Shen voice.shen@atmel.com
arch/arm/cpu/armv7/at91/config.mk | 10 ++++++++++ spl/Makefile | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 arch/arm/cpu/armv7/at91/config.mk
diff --git a/arch/arm/cpu/armv7/at91/config.mk b/arch/arm/cpu/armv7/at91/config.mk new file mode 100644 index 0000000..09eab70 --- /dev/null +++ b/arch/arm/cpu/armv7/at91/config.mk @@ -0,0 +1,10 @@ +# +# Copyright (C) 2014, Andreas Bießmann andreas.devel@googlemail.com +# +# SPDX-License-Identifier: GPL-2.0+ +# +ifdef CONFIG_SPL_BUILD +ALL-y += boot.bin +else +ALL-y += u-boot.img +endif diff --git a/spl/Makefile b/spl/Makefile index 6fec252..031bf54 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -182,6 +182,11 @@ 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
+boot.bin: $(obj)/u-boot-spl.bin
$(call if_changed,mkimage)
ALL-y += $(obj)/$(SPL_BIN).bin
ifdef CONFIG_SAMSUNG
Best Regards, Bo Shen