From: Samuel Holland Date: Sun, 22 Aug 2021 18:23:53 +0000 (-0500) Subject: sunxi: Select SPL_SEPARATE_BSS X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=a3010bcfede0b0f84da069e3dd67ffd1142ee286;p=u-boot.git sunxi: Select SPL_SEPARATE_BSS sunxi-common.h defines CONFIG_SPL_BSS_START_ADDR to put SPL's BSS in DRAM. Due to this, we must select SPL_SEPARATE_BSS, or else SPL will attempt to load its DTB from the wrong address (after BSS in DRAM). This change fixes booting with SPL_OF_CONTROL=y. Signed-off-by: Samuel Holland Reviewed-by: Andre Przywara Signed-off-by: Andre Przywara --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 504abca0b7..ebd9468d11 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1037,6 +1037,7 @@ config ARCH_SUNXI select OF_CONTROL select OF_SEPARATE select SPECIFY_CONSOLE_INDEX + select SPL_SEPARATE_BSS if SPL select SPL_STACK_R if SPL select SPL_SYS_MALLOC_SIMPLE if SPL select SPL_SYS_THUMB_BUILD if !ARM64