From patchwork Fri Jun 5 08:43:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 241778 List-Id: U-Boot discussion From: gregory.clement at bootlin.com (Gregory CLEMENT) Date: Fri, 5 Jun 2020 10:43:36 +0200 Subject: [PATCH v2 1/2] ARM: at91: Enable SPL_SEPARATE_BSS by default In-Reply-To: <20200605084337.98498-1-gregory.clement@bootlin.com> References: <20200605084337.98498-1-gregory.clement@bootlin.com> Message-ID: <20200605084337.98498-2-gregory.clement@bootlin.com> 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 Signed-off-by: Gregory CLEMENT --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) 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"