diff options
| author | Samuel Holland <[email protected]> | 2021-08-22 13:23:53 -0500 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2021-10-25 14:48:58 +0100 |
| commit | a3010bcfede0b0f84da069e3dd67ffd1142ee286 (patch) | |
| tree | 531eb71a9490b11f20f2f40ffc0c5e93dc245d1d | |
| parent | 355d1e24f6143c4839be3c015c191421c4e9449c (diff) | |
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 <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
| -rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 504abca0b71..ebd9468d11d 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 |
