mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 12:57:13 +00:00
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: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
94067580a5
commit
4fcd0b33c7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue