Skip to content
Snippets Groups Projects
Commit 4fcd0b33 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Make room for malloc before ELF


Create space below u-boot binary for early malloc.
It means memory layout is stack grows down, space for early malloc,
u-boot code.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 94067580
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,8 @@ ...@@ -121,7 +121,8 @@
#endif #endif
/* Stack location before relocation */ /* Stack location before relocation */
#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_TEXT_BASE - \
CONFIG_SYS_MALLOC_F_LEN)
/* /*
* CFI flash memory layout - Example * CFI flash memory layout - Example
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment