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:
parent
6d2ac13be0
commit
641dfaa3a8
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue