u-boot/arch
Jonas Karlman 41098d2e3e rockchip: Use common bss and stack addresses on RK3308
Currently the following memory layout is typically used on RK3308:
[    0, 256K) - SPL binary
[ 256K,   2M) - TF-A / reserved
[   -X,   4M) - SPL pre-reloc stack (SPL_STACK)
[  -8K,   4M)   - pre-reloc malloc heap (SPL_SYS_MALLOC_F_LEN)
[   4M,  +8K) - SPL bss (SPL_BSS_START_ADDR, SPL_BSS_MAX_SIZE)
[   6M,   +X) - U-Boot proper binary (TEXT_BASE)
[   -X,   8M) - U-Boot proper pre-reloc stack (CUSTOM_SYS_INIT_SP_ADDR)
[  -8K,   8M)   - pre-reloc malloc heap (SYS_MALLOC_F_LEN)
[   -X,  12M) - SPL reloc stack (SPL_STACK_R_ADDR)
[  11M,  12M)   - reloc malloc heap (SPL_STACK_R_MALLOC_SIMPLE_LEN)

SPL can safely load U-Boot proper + FDT to [6M, 8M-8K) with this layout.

Migrate to use common bss, stack and malloc heap size and addresses to
remove this size limitation and extend the malloc heap size being used.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2024-03-14 15:27:28 +08:00
..
arc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
arm rockchip: Use common bss and stack addresses on RK3308 2024-03-14 15:27:28 +08:00
m68k Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
microblaze mtd: Make CONFIG_MTD be the gate symbol for the menu 2024-01-22 14:18:54 -05:00
mips Kconfig: Centralize prompting for SYS_CONFIG_NAME 2024-02-27 14:18:54 -05:00
nios2 Kconfig: Centralize prompting for SYS_CONFIG_NAME 2024-02-27 14:18:54 -05:00
powerpc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
riscv efi_loader: set IMAGE_DLLCHARACTERISTICS_NX_COMPAT 2024-02-28 14:37:46 +01:00
sandbox sandbox: dts: fix qcom pmic gpio 2024-03-01 14:44:36 +00:00
sh ARM: renesas: Rename ARCH_RMOBILE to ARCH_RENESAS 2024-03-02 14:29:36 -05:00
x86 smbios: copy QEMU tables 2024-01-16 17:05:29 -05:00
xtensa bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
.gitignore
Kconfig Kconfig: Centralize prompting for SYS_CONFIG_NAME 2024-02-27 14:18:54 -05:00
Kconfig.nxp
u-boot-elf.lds