9
0
Fork 0

meminfo: switch to pr_xxx

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2013-03-08 12:59:38 +01:00 committed by Sascha Hauer
parent cbc81555ad
commit a4a8b454e1
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}