diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-04-12 10:59:04 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-21 09:08:57 -0400 |
commit | 1dd56db5e0bcb05e65fd646d3252f9b439461fb0 (patch) | |
tree | 404228235100b5ae6d40f9c307718aaee46ce308 /arch/Kconfig | |
parent | a95cd68d516a547b09e6060b664e101e03706365 (diff) | |
download | u-boot-1dd56db5e0bcb05e65fd646d3252f9b439461fb0.tar.gz |
treewide: Enable SPL_SEPARATE_BSS if SPL_BSS_START_ADDR is usedWIP/2022-04-21-assorted-improvements
If .bss does not immediately follow the end of the image, then
CONFIG_SPL_SEPARATE_BSS must be selected. Typically, the location of bss
is specified by using CONFIG_SPL_BSS_START_ADDR in a linker script. On
these arches, CONFIG_SPL_SEPARATE_BSS should be enabled. If there is an
option to use an alternate boot script (e.g. CONFIG_SPL_LDSCRIPT is just
a default), just imply. If there is not, select.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 156567ed167..c3e9f9aef6a 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -85,6 +85,7 @@ config MIPS select HAVE_ARCH_IOREMAP select HAVE_PRIVATE_LIBGCC select SUPPORT_OF_CONTROL + select SPL_SEPARATE_BSS if SPL config NDS32 bool "NDS32 architecture" @@ -112,6 +113,7 @@ config RISCV select SUPPORT_OF_CONTROL select OF_CONTROL select DM + select SPL_SEPARATE_BSS if SPL imply DM_SERIAL imply DM_ETH imply DM_EVENT |