]> git.dujemihanovic.xyz Git - u-boot.git/commit
malloc_simple: Add debug() information
authorSimon Glass <sjg@chromium.org>
Tue, 8 Sep 2015 23:52:46 +0000 (17:52 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:25 +0000 (07:46 -0600)
commit836ac74c29b04a18fc51c92a18e383cf18a36d63
treedf6b0a443158ba21543feca162e92abfb8f7800c
parent5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d
malloc_simple: Add debug() information

It's useful to get a a trace of memory allocations in early init. Add a
debug() call to provide that. It can be enabled by adding '#define DEBUG'
to the top of the file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/malloc_simple.c