All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bo Shen <voice.shen@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 2/2] arm:at91: enable ROM loadable atmel image
Date: Thu, 24 Apr 2014 11:10:09 +0800	[thread overview]
Message-ID: <53588091.7070705@atmel.com> (raw)
In-Reply-To: <1398263365-17931-3-git-send-email-andreas.devel@googlemail.com>

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

  reply	other threads:[~2014-04-24  3:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23 14:29 [U-Boot] [RFC PATCH 0/2] Add atmel ROM code image Andreas Bießmann
2014-04-23 14:29 ` [U-Boot] [RFC PATCH 1/2] mkimage: add atmelimage Andreas Bießmann
2014-04-24  3:09   ` Bo Shen
2014-04-24  5:23     ` Andreas Bießmann
2014-04-23 14:29 ` [U-Boot] [RFC PATCH 2/2] arm:at91: enable ROM loadable atmel image Andreas Bießmann
2014-04-24  3:10   ` Bo Shen [this message]
2014-04-24  3:03 ` [U-Boot] [RFC PATCH 0/2] Add atmel ROM code image Bo Shen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53588091.7070705@atmel.com \
    --to=voice.shen@atmel.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.