From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Wed, 23 Apr 2014 16:29:25 +0200 Subject: [U-Boot] [RFC PATCH 2/2] arm:at91: enable ROM loadable atmel image In-Reply-To: <1398263365-17931-1-git-send-email-andreas.devel@googlemail.com> References: <1398263365-17931-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <1398263365-17931-3-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de For sama5d3xek we need to modify the SPL image for correct detection by ROM code. Signed-off-by: Andreas Bie?mann --- 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 +# +# 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 -- 1.7.10.4