summaryrefslogtreecommitdiffstats
path: root/hw/lpc-mbox.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-03-10 16:56:59 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-16 17:29:31 +1100
commitc9bf78b0556b1d2c2f3a5041d3da7df225227cde (patch)
tree3d6349bf0a9920fae3a8763ebdb5bb83d2461c18 /hw/lpc-mbox.c
parentdd2d88d30d17f1caf1eae5ab64cab35aba834745 (diff)
downloadblackbird-skiboot-c9bf78b0556b1d2c2f3a5041d3da7df225227cde.tar.gz
blackbird-skiboot-c9bf78b0556b1d2c2f3a5041d3da7df225227cde.zip
lpc-mbox: Not existing is only an error on P9 and above
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/lpc-mbox.c')
-rw-r--r--hw/lpc-mbox.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/lpc-mbox.c b/hw/lpc-mbox.c
index aaaa2b0c..fd107fbb 100644
--- a/hw/lpc-mbox.c
+++ b/hw/lpc-mbox.c
@@ -230,7 +230,11 @@ void mbox_init(void)
prlog(PR_DEBUG, "Attempting mbox init\n");
np = dt_find_compatible_node(dt_root, NULL, "mbox");
if (!np) {
- prlog(PR_ERR, "No device tree entry\n");
+ /* Only an ERROR on P9 and above, otherwise just
+ * a warning for someone doing development
+ */
+ prlog((proc_gen <= proc_gen_p8) ? PR_DEBUG : PR_ERR,
+ "No device tree entry\n");
return;
}
OpenPOWER on IntegriCloud