diff options
author | Michal Simek <michal.simek@xilinx.com> | 2021-08-24 14:56:47 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-08-26 08:14:43 +0200 |
commit | 229cb5c6ba3469cbc4a0bcc69389fe61c51fd3b4 (patch) | |
tree | a69bb46c22a5b7f6da77948349f874d6ff3efb86 /board/theobroma-systems | |
parent | 060fa0e11bde87a22898b2c152b701e25dcfe0db (diff) | |
download | u-boot-229cb5c6ba3469cbc4a0bcc69389fe61c51fd3b4.tar.gz |
xilinx: zynqmp: Enable stack relocation to DDR
There is no space in OCM for SPL stack because the space in OCM is occupied
by TF-A. That's why move relocate stack to DDR to 0x18000000 address
and also enable SPL_SIZE_LIMIT not to be more then 0xfffea000 which is
default address for TFA.
It is good to summarize current DDR usage in SPL flow.
0-0x80000 is used for BSS
(CONFIG_SPL_BSS_START_ADDR, CONFIG_SPL_BSS_MAX_SIZE)
0x100000 is used for DTB passing address
(CONFIG_XILINX_OF_BOARD_DTB_ADDR)
0x17fffe70 - CONFIG_SPL_STACK_R_ADDR - is used for GD
0x18000000 is used for SPL stack
(CONFIG_SPL_STACK_R_ADDR)
0x20000000-0x21000000 is used for SPL malloc area
(CONFIG_SYS_SPL_MALLOC_START, CONFIG_SYS_SPL_MALLOC_SIZE)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/theobroma-systems')
0 files changed, 0 insertions, 0 deletions