9
0
Fork 0

startup: use regular debug statements in initcall debugging

Now that we don't need malloc for the console anymore it's
safe to call printf anytime, so switch the initcall debugging
to regular debug() statements..

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-01-26 12:22:23 +01:00
parent 6d2ac13be0
commit 641dfaa3a8
1 changed files with 3 additions and 4 deletions

View File

@ -121,13 +121,12 @@ void start_barebox (void)
for (initcall = __barebox_initcalls_start;
initcall < __barebox_initcalls_end; initcall++) {
PUTS_LL("<<");
PUTHEX_LL(*initcall);
debug("initcall-> %pS\n", *initcall);
result = (*initcall)();
PUTS_LL(">>\n");
debug("initcall<- %pS (%d)\n", *initcall, result);
}
PUTS_LL("initcalls done\n");
debug("initcalls done\n");
display_meminfo();