summaryrefslogtreecommitdiffstats
path: root/hw/lpc-mbox.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-03-09 11:45:35 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-09 13:36:35 +1100
commitb63cb7694379500ca3e5ef81d8ffc1b2f60f30f9 (patch)
tree4fd1e9afe74b79a8f20e708cad901c8bee32d6e2 /hw/lpc-mbox.c
parentaa99129c19c1a92b95246d3e846caf7bf1950a19 (diff)
downloadblackbird-skiboot-b63cb7694379500ca3e5ef81d8ffc1b2f60f30f9.tar.gz
blackbird-skiboot-b63cb7694379500ca3e5ef81d8ffc1b2f60f30f9.zip
mbox: Sanitize init message
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/lpc-mbox.c')
-rw-r--r--hw/lpc-mbox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/lpc-mbox.c b/hw/lpc-mbox.c
index ec101aed..aaaa2b0c 100644
--- a/hw/lpc-mbox.c
+++ b/hw/lpc-mbox.c
@@ -274,7 +274,9 @@ void mbox_init(void)
chip_id = dt_get_chip_id(np);
mbox_lpc_client.interrupts = LPC_IRQ(irq);
lpc_register_client(chip_id, &mbox_lpc_client, IRQ_ATTR_TARGET_OPAL);
- prlog(PR_DEBUG, "Using chipid: %d and IRQ: %d at 0x%08x\n", chip_id, irq, mbox.base);
+
+ prlog(PR_DEBUG, "Enabled on chip %d, IO port 0x%x, IRQ %d\n",
+ chip_id, mbox.base, irq);
}
OpenPOWER on IntegriCloud