aboutsummaryrefslogtreecommitdiff
path: root/core/device.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-06-24 14:17:22 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-26 14:28:58 +1000
commit7fab123bff59c44650b4b9c6a45c4884ed7ea2bd (patch)
tree9292560e8147aa9a347308415cfafa7395a6be4f /core/device.c
parent562a10caf48c91c673f5e78289894dfbfe326884 (diff)
downloadskiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.zip
skiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.tar.gz
skiboot-7fab123bff59c44650b4b9c6a45c4884ed7ea2bd.tar.bz2
Big log level reduction...
90% of what we print isn't useful to a normal user. This dramatically reduces the amount of messages printed by OPAL in normal circumstances. We still need to add a way to bump the log level at boot based on a BMC scratch register or some HDAT property. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/device.c')
-rw-r--r--core/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/device.c b/core/device.c
index f3ee63f..42c47d1 100644
--- a/core/device.c
+++ b/core/device.c
@@ -893,7 +893,7 @@ int dt_expand_node(struct dt_node *node, const void *fdt, int fdt_node)
void dt_expand(const void *fdt)
{
- printf("FDT: Parsing fdt @%p\n", fdt);
+ prlog(PR_DEBUG, "FDT: Parsing fdt @%p\n", fdt);
if (dt_expand_node(dt_root, fdt, 0) < 0)
abort();