ARM: at91: Enable SPL_SEPARATE_BSS by default
authorGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 5 Jun 2020 08:43:36 +0000 (10:43 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 18 Jun 2020 11:28:37 +0000 (14:28 +0300)
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

index 21df1c4..3ba7e33 100644 (file)
@@ -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"