diff mbox series

[v2,1/2] ARM: at91: Enable SPL_SEPARATE_BSS by default

Message ID 20200605084337.98498-2-gregory.clement@bootlin.com
State Accepted
Commit c7c120c22b4fe56281ec75cf6fd9304cf6c36344
Delegated to: Eugen Hristev
Headers show
Series ARM: at91: Allow running SPL with DTB append | expand

Commit Message

Gregory CLEMENT June 5, 2020, 8:43 a.m. UTC
According to the linker script for both armv7 and arm926ejs based SoC,
BSS section was all the time separated for SPL but this symbol was
only enabled on some boards. However, it is necessary to have it
enabled for OF_SEPARATE configuration where DTB is appended to u-boot
with DTB.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 21df1c415f..3ba7e338b6 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -532,6 +532,7 @@  choice
 config ARCH_AT91
 	bool "Atmel AT91"
 	select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
+	select SPL_SEPARATE_BSS if SPL
 
 config TARGET_EDB93XX
 	bool "Support edb93xx"