diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-10-15 15:12:56 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-10-15 15:12:56 +1100 |
commit | a5c9001b3e33447d644a50cec7699e247b0d492a (patch) | |
tree | a60221efbb8b7281dca20c1edb6c7805738c1b37 /hw/ast-bmc | |
parent | ab9e67e5d8210830bdae0f7a6e59e07c7336583d (diff) | |
download | skiboot-a5c9001b3e33447d644a50cec7699e247b0d492a.zip skiboot-a5c9001b3e33447d644a50cec7699e247b0d492a.tar.gz skiboot-a5c9001b3e33447d644a50cec7699e247b0d492a.tar.bz2 |
hw/ast: Print something decent for PNOR LPC offset
Print the actual offset rather than the register content and
use PR_DEBUG log level
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw/ast-bmc')
-rw-r--r-- | hw/ast-bmc/ast-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ast-bmc/ast-io.c b/hw/ast-bmc/ast-io.c index c06ed8a..34b588d 100644 --- a/hw/ast-bmc/ast-io.c +++ b/hw/ast-bmc/ast-io.c @@ -376,7 +376,7 @@ void ast_io_init(void) hicr7 = bmc_sio_ahb_readl(LPC_HICR7); pnor_lpc_offset = (hicr7 & 0xffffu) << 16; - printf("AST: PNOR LPC offset: 0x%08x\n", hicr7); + prlog(PR_DEBUG, "AST: PNOR LPC offset: 0x%08x\n", pnor_lpc_offset); /* Configure all AIO interrupts to level low */ ast_setup_sio_irq_polarity(); |