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

Michael Neuling mikey at neuling.org
Sun Jun 25 05:17:21 AEST 2017


From: Benjamin Herrenschmidt <benh at kernel.crashing.org>

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

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");
-- 
2.11.0



More information about the Skiboot mailing list