summaryrefslogtreecommitdiffstats
path: root/common/meminfo.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-04 14:20:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-04 14:20:33 +0200
commit2143dfda8b32b8d1cda16982efeca57ca97b3996 (patch)
treec25f94177de151e9f53f82f2ee27646e23ad2e2e /common/meminfo.c
parenteebe92e3ad8b8516108aa1e00092ed542429087c (diff)
parentc44eabb10992216213a42fdd5eaead376342a83a (diff)
downloadbarebox-2143dfda8b32b8d1cda16982efeca57ca97b3996.tar.gz
Merge branch 'for-next/pr_print'
Diffstat (limited to 'common/meminfo.c')
-rw-r--r--common/meminfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/meminfo.c b/common/meminfo.c
index ad9bbd9..d239fde 100644
--- a/common/meminfo.c
+++ b/common/meminfo.c
@@ -10,9 +10,9 @@ static int display_meminfo(void)
ulong mend = mem_malloc_end();
ulong msize = mend - mstart + 1;
- debug("barebox code: 0x%p -> 0x%p\n", _stext, _etext - 1);
- debug("bss segment: 0x%p -> 0x%p\n", __bss_start, __bss_stop - 1);
- printf("malloc space: 0x%08lx -> 0x%08lx (size %s)\n",
+ pr_debug("barebox code: 0x%p -> 0x%p\n", _stext, _etext - 1);
+ pr_debug("bss segment: 0x%p -> 0x%p\n", __bss_start, __bss_stop - 1);
+ pr_info("malloc space: 0x%08lx -> 0x%08lx (size %s)\n",
mstart, mend, size_human_readable(msize));
return 0;
}