[U-Boot] [PATCH] arm, at91: generate boot.bin file for all all atmel SoC

Andreas Bießmann andreas.devel at googlemail.com
Thu Nov 6 01:25:43 CET 2014



On 30.10.14 09:59, Heiko Schocher wrote:
> generate the boot.bin file for all atmel SoC (arm920, arm926, armv7)
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>

Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>

> ---
> 
>  arch/arm/cpu/armv7/at91/config.mk | 4 +---
>  scripts/Makefile.spl              | 4 ++++
>  2 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv7/at91/config.mk b/arch/arm/cpu/armv7/at91/config.mk
> index 09eab70..db60308 100644
> --- a/arch/arm/cpu/armv7/at91/config.mk
> +++ b/arch/arm/cpu/armv7/at91/config.mk
> @@ -3,8 +3,6 @@
>  #
>  # SPDX-License-Identifier:	GPL-2.0+
>  #
> -ifdef CONFIG_SPL_BUILD
> -ALL-y	+= boot.bin
> -else
> +ifndef CONFIG_SPL_BUILD
>  ALL-y	+= u-boot.img
>  endif
> diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
> index 7afe437..07db0bf 100644
> --- a/scripts/Makefile.spl
> +++ b/scripts/Makefile.spl
> @@ -181,6 +181,10 @@ ALL-y	+= $(obj)/sunxi-spl.bin
>  endif
>  endif
>  
> +ifeq ($(CONFIG_SYS_SOC),"at91")
> +ALL-y	+= boot.bin
> +endif
> +
>  all:	$(ALL-y)
>  
>  ifdef CONFIG_SAMSUNG
> 


More information about the U-Boot mailing list