aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-08-22 13:23:53 -0500
committerAndre Przywara <andre.przywara@arm.com>2021-10-25 14:48:58 +0100
commita3010bcfede0b0f84da069e3dd67ffd1142ee286 (patch)
tree531eb71a9490b11f20f2f40ffc0c5e93dc245d1d
parent355d1e24f6143c4839be3c015c191421c4e9449c (diff)
downloadu-boot-a3010bcfede0b0f84da069e3dd67ffd1142ee286.zip
u-boot-a3010bcfede0b0f84da069e3dd67ffd1142ee286.tar.gz
u-boot-a3010bcfede0b0f84da069e3dd67ffd1142ee286.tar.bz2
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 <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 504abca..ebd9468 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