diff mbox

[v2,16/23] init: Silence messages and call ourselves "OPAL"

Message ID 20170624191728.14793-17-mikey@neuling.org
State Accepted
Headers show

Commit Message

Michael Neuling June 24, 2017, 7:17 p.m. UTC
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 core/init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/core/init.c b/core/init.c
index 1d2d07d8fd..228186a14e 100644
--- a/core/init.c
+++ b/core/init.c
@@ -808,8 +808,8 @@  void __noreturn __nomcount main_cpu_entry(const void *fdt)
 	/* Call library constructors */
 	do_ctors();
 
-	printf("SkiBoot %s starting...\n", version);
-	printf("initial console log level: memory %d, driver %d\n",
+	prlog(PR_NOTICE, "OPAL %s starting...\n", version);
+	prlog(PR_DEBUG, "initial console log level: memory %d, driver %d\n",
 	       (debug_descriptor.console_log_levels >> 4),
 	       (debug_descriptor.console_log_levels & 0x0f));
 	prlog(PR_TRACE, "You will not see this\n");