diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-03-08 12:59:38 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-09 11:16:17 +0100 |
commit | a4a8b454e144dce04efe0a208d49735522961475 (patch) | |
tree | d0b7016bba966d39b8c6aed3e25ae07107423f99 | |
parent | cbc81555ad741df47453546c5ddd3ccac2679c97 (diff) | |
download | barebox-a4a8b454e144dce04efe0a208d49735522961475.tar.gz barebox-a4a8b454e144dce04efe0a208d49735522961475.tar.xz |
meminfo: switch to pr_xxx
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | common/meminfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/meminfo.c b/common/meminfo.c index 5e3ff716a5..45733da6df 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; } |