aboutsummaryrefslogtreecommitdiff
path: root/hdata/iohub.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-05-15 18:20:48 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-16 15:41:35 +1000
commitad73840e911c20ae6ee619ffbbc533ee838a0fa9 (patch)
treea2b22d0c2866facd513680da4e8b0d363d56dcf1 /hdata/iohub.c
parent8af5b3c084fa51b553cb7793304c4a258a2cf420 (diff)
downloadskiboot-ad73840e911c20ae6ee619ffbbc533ee838a0fa9.zip
skiboot-ad73840e911c20ae6ee619ffbbc533ee838a0fa9.tar.gz
skiboot-ad73840e911c20ae6ee619ffbbc533ee838a0fa9.tar.bz2
hdata: Don't use printf
Using printf() here results in the output going into the stdout stream when running the hdata_to_dt test. This results in an invalid dtb output so lets not do that. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/iohub.c')
-rw-r--r--hdata/iohub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hdata/iohub.c b/hdata/iohub.c
index 0e7ef65..c0b9bf8 100644
--- a/hdata/iohub.c
+++ b/hdata/iohub.c
@@ -380,7 +380,8 @@ static struct dt_node *io_add_p9(const struct cechub_io_hub *hub,
return NULL;
}
- printf("IOHUB: PHB4 active bridge mask %x\n", (u32) hub->fab_br0_pdt);
+ prlog(PR_DEBUG, "IOHUB: PHB4 active bridge mask %x\n",
+ (u32) hub->fab_br0_pdt);
/* Create PBCQs */
io_add_phb4(hub, sp_iohubs, xscom, 0, 1, 0);