summaryrefslogtreecommitdiffstats
path: root/common/meminfo.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-03-08 12:59:38 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-09 11:16:17 +0100
commita4a8b454e144dce04efe0a208d49735522961475 (patch)
treed0b7016bba966d39b8c6aed3e25ae07107423f99 /common/meminfo.c
parentcbc81555ad741df47453546c5ddd3ccac2679c97 (diff)
downloadbarebox-a4a8b454e144dce04efe0a208d49735522961475.tar.gz
meminfo: switch to pr_xxx
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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 5e3ff71..45733da 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;
}