aboutsummaryrefslogtreecommitdiff
path: root/libstb
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-06-04 15:24:10 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-06-05 14:11:10 +1000
commit1b86a92b6cb66ca9a1968e57afd8e6d76c417523 (patch)
treeae439cef3a028c61f2b42f854be9d6e1c72f9f4a /libstb
parenta5a32e86f3e2be67da9a89333e1bb18b34145ac1 (diff)
downloadskiboot-1b86a92b6cb66ca9a1968e57afd8e6d76c417523.zip
skiboot-1b86a92b6cb66ca9a1968e57afd8e6d76c417523.tar.gz
skiboot-1b86a92b6cb66ca9a1968e57afd8e6d76c417523.tar.bz2
Quieten console output on boot
We print out a whole bunch of things on boot, most of which aren't interesting, so we should *not* print them instead. Printing things like what CPUs we found and what PCI devices we found *are* useful, so continue to do that. But we don't need to splat out a bunch of things that are always going to be true. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'libstb')
-rw-r--r--libstb/secureboot.c4
-rw-r--r--libstb/trustedboot.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libstb/secureboot.c b/libstb/secureboot.c
index 348acf5..4f6a301 100644
--- a/libstb/secureboot.c
+++ b/libstb/secureboot.c
@@ -102,14 +102,14 @@ void secureboot_init(void)
return;
}
- prlog(PR_NOTICE, "Found %s\n", compat);
+ prlog(PR_DEBUG, "Found %s\n", compat);
if (nvram_query_eq("force-secure-mode", "always")) {
secure_mode = true;
prlog(PR_NOTICE, "secure mode on (FORCED by nvram)\n");
} else {
secure_mode = dt_has_node_property(node, "secure-enabled", NULL);
- prlog(PR_NOTICE, "secure mode %s\n",
+ prlog(PR_INFO, "secure mode %s\n",
secure_mode ? "on" : "off");
}
diff --git a/libstb/trustedboot.c b/libstb/trustedboot.c
index 151e4e1..8fa1179 100644
--- a/libstb/trustedboot.c
+++ b/libstb/trustedboot.c
@@ -106,7 +106,7 @@ void trustedboot_init(void)
prlog(PR_NOTICE, "trusted mode on (FORCED by nvram)\n");
} else {
trusted_mode = dt_has_node_property(node, "trusted-enabled", NULL);
- prlog(PR_NOTICE, "trusted mode %s\n",
+ prlog(PR_INFO, "trusted mode %s\n",
trusted_mode ? "on" : "off");
}