From ad73840e911c20ae6ee619ffbbc533ee838a0fa9 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Mon, 15 May 2017 18:20:48 +1000 Subject: 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 Signed-off-by: Stewart Smith --- hdata/iohub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hdata/iohub.c') 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); -- cgit v1.1