Message ID | 20170310055659.12277-2-stewart@linux.vnet.ibm.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/hw/lpc-mbox.c b/hw/lpc-mbox.c index aaaa2b0c4f3a..fd107fbbda01 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; }
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> --- hw/lpc-mbox.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)