9
0
Fork 0

startup: Don't print multiple lines with pr_info

Print the banner with pr_info, but the empty lines before and after
it with printf. This makes the banner show up in the log show up
properly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2014-09-30 08:29:50 +02:00
parent 8af0569b7b
commit 6ae9a40c79
1 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@ EXPORT_SYMBOL(release_string);
void barebox_banner (void)
{
pr_info("\n\n%s\n\n", version_string);
printf("\n\n");
pr_info("%s", version_string);
printf("\n\n");
pr_info("Board: %s\n", barebox_get_model());
}