Skip to contentSkip to conversation

arm, at91: generate boot.bin file for all all atmel SoC

PATCH In review Heiko Schocher 3 participants 4 messages Oct 30, 2014 – Nov 17, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm, at91: generate boot.bin file for all all atmel SoC

generate the boot.bin file for all atmel SoC (arm920, arm926, armv7)

---

 arch/arm/cpu/armv7/at91/config.mk | 4 +---
 scripts/Makefile.spl              | 4 ++++
 2 files changed, 5 insertions(+), 3 deletions(-)
arch/arm/cpu/armv7/at91/config.mk +1 -3
index 09eab70..db60308 100644
@@ -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
scripts/Makefile.spl +4 -0
index 7afe437..07db0bf 100644
@@ -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
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 arm, at91: generate boot.bin file for all all atmel SoC

Quoted 3 lines · Heiko Schocher

generate the boot.bin file for all atmel SoC (arm920, arm926, armv7)

Quoted 36 lines

---

 arch/arm/cpu/armv7/at91/config.mk | 4 +---
 scripts/Makefile.spl              | 4 ++++
 2 files changed, 5 insertions(+), 3 deletions(-)
arch/arm/cpu/armv7/at91/config.mk +1 -3
index 09eab70..db60308 100644
@@ -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
scripts/Makefile.spl +4 -0
index 7afe437..07db0bf 100644
@@ -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
#3 lore raw

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

In reply to Heiko Schocher

Dear Heiko Schocher,

Quoted 7 lines · Heiko Schocher

generate the boot.bin file for all atmel SoC (arm920, arm926, armv7)

Quoted 5 lines

---

arch/arm/cpu/armv7/at91/config.mk | 4 +---
scripts/Makefile.spl | 4 ++++

2 files changed, 5 insertions(+), 3 deletions(-)

applied to u-boot-atmel/master with fixed subject, thanks!

Best regards,
Andreas Bie?mann