diff options
author | Graeme Smecher <graeme.smecher@mail.mcgill.ca> | 2009-12-07 08:09:57 -0800 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-12-08 08:51:42 +0100 |
commit | 8fe7b29f9811322931f0192a56431edcf819d6b9 (patch) | |
tree | 16a45bc56e0c8ace232459e0e5d79e8f716e692d /include/configs/microblaze-generic.h | |
parent | 0fc52948bda0734431cb528ee4fd82f1dec8c7b5 (diff) | |
download | u-boot-8fe7b29f9811322931f0192a56431edcf819d6b9.tar.gz u-boot-8fe7b29f9811322931f0192a56431edcf819d6b9.tar.xz u-boot-8fe7b29f9811322931f0192a56431edcf819d6b9.zip |
microblaze: Stop stack clobbering in microblaze-generic.
A typo caused the stack and malloc regions to overlap, which prevented
mem_malloc_init() from returning. This commit makes the memory layout match
the example described in include/configs/microblaze-generic.h
Signed-off-by: Graeme Smecher <graeme.smecher@mail.mcgill.ca>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include/configs/microblaze-generic.h')
-rw-r--r-- | include/configs/microblaze-generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index b486c7753c..9b1569a6d4 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -146,7 +146,7 @@ #define CONFIG_SYS_MALLOC_BASE (CONFIG_SYS_MONITOR_BASE - CONFIG_SYS_MALLOC_LEN) /* stack */ -#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_MONITOR_BASE +#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_MALLOC_BASE /*#define RAMENV */ #define FLASH |