mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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:
@ -121,7 +121,8 @@
|
||||
#endif
|
||||
|
||||
/* 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
|
||||
|
Reference in New Issue
Block a user