From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Shen Date: Thu, 24 Apr 2014 11:10:09 +0800 Subject: [U-Boot] [RFC PATCH 2/2] arm:at91: enable ROM loadable atmel image In-Reply-To: <1398263365-17931-3-git-send-email-andreas.devel@googlemail.com> References: <1398263365-17931-1-git-send-email-andreas.devel@googlemail.com> <1398263365-17931-3-git-send-email-andreas.devel@googlemail.com> Message-ID: <53588091.7070705@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 For whole series, Tested-by: Bo Shen > --- > > 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 > Best Regards, Bo Shen