projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9406758
)
microblaze: Make room for malloc before ELF
author
Michal Simek
<michal.simek@xilinx.com>
Tue, 8 Dec 2015 13:34:13 +0000
(14:34 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Fri, 18 Dec 2015 12:15:58 +0000
(13:15 +0100)
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>
include/configs/microblaze-generic.h
patch
|
blob
|
history
diff --git
a/include/configs/microblaze-generic.h
b/include/configs/microblaze-generic.h
index 06f6ed1fc0c2aa3f9d996e153d791a6b72a76fa6..a48c8d60948e56210004c7f210e4c8086404cc8b 100644
(file)
--- a/
include/configs/microblaze-generic.h
+++ b/
include/configs/microblaze-generic.h
@@
-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