diff options
author | Michal Simek <root@monstr.eu> | 2007-03-25 23:39:07 (GMT) |
---|---|---|
committer | Michal Simek <root@monstr.eu> | 2007-03-25 23:39:07 (GMT) |
commit | 1798049522f594013aea29457d46794298c6ae15 (patch) | |
tree | 966edd78aadda268b6412e616c051602f99a6094 /lib_microblaze/board.c | |
parent | cfc67116a706fd18b8f6a9c11a16753c5626d689 (diff) | |
download | u-boot-1798049522f594013aea29457d46794298c6ae15.tar.xz |
Support for XUPV2P board
Reset support
BSP autoconfig support
Diffstat (limited to 'lib_microblaze/board.c')
-rw-r--r-- | lib_microblaze/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_microblaze/board.c b/lib_microblaze/board.c index 273d9c4..c95125a 100644 --- a/lib_microblaze/board.c +++ b/lib_microblaze/board.c @@ -59,8 +59,8 @@ static ulong mem_malloc_brk; */ static void mem_malloc_init (void) { - mem_malloc_end = CFG_MONITOR_BASE + CFG_MONITOR_LEN; - mem_malloc_start = CFG_MONITOR_BASE; + mem_malloc_end = (CFG_MALLOC_BASE + CFG_MALLOC_LEN); + mem_malloc_start = CFG_MALLOC_BASE; mem_malloc_brk = mem_malloc_start; memset ((void *)mem_malloc_start, 0, mem_malloc_end - mem_malloc_start); } |