diff options
author | Tom Rini <trini@ti.com> | 2014-11-13 09:32:45 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-13 09:32:45 -0500 |
commit | 3ad207a2bf1399a689233a97978e306f71729f77 (patch) | |
tree | 1c558153f19b15ba818916ea6400791e8ffe2322 /common | |
parent | bdf1638a757cfdebb033fb447101108d6cbc4e79 (diff) | |
parent | 18900401abf54182a56d8ff6dc38c7421402920b (diff) | |
download | u-boot-imx-3ad207a2bf1399a689233a97978e306f71729f77.zip u-boot-imx-3ad207a2bf1399a689233a97978e306f71729f77.tar.gz u-boot-imx-3ad207a2bf1399a689233a97978e306f71729f77.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'common')
-rw-r--r-- | common/dlmalloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/dlmalloc.c b/common/dlmalloc.c index d87834d..991229d 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -1533,6 +1533,9 @@ void mem_malloc_init(ulong start, ulong size) mem_malloc_end = start + size; mem_malloc_brk = start; + debug("using memory %#lx-%#lx for malloc()\n", mem_malloc_start, + mem_malloc_end); + memset((void *)mem_malloc_start, 0, size); malloc_bin_reloc(); |