From 82546c64a890e677c6bf5b2d1e276f43020f45d3 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sat, 24 Jun 2017 14:17:10 -0500 Subject: phb3/4: Silence a useless warning PHB's don't have base location codes on non-FSP systems and it's normal. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Neuling Signed-off-by: Stewart Smith --- hw/phb3.c | 2 +- hw/phb4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/phb3.c b/hw/phb3.c index bf043b3..0b4c3c3 100644 --- a/hw/phb3.c +++ b/hw/phb3.c @@ -4683,7 +4683,7 @@ static void phb3_create(struct dt_node *np) p->phb.base_loc_code = dt_prop_get_def(dt_root, "ibm,io-base-loc-code", NULL); if (!p->phb.base_loc_code) - PHBERR(p, "Base location code not found !\n"); + PHBDBG(p, "Base location code not found !\n"); /* Priority order: NVRAM -> dt -> GEN3 */ p->max_link_speed = 3; diff --git a/hw/phb4.c b/hw/phb4.c index db0cf54..a2641b8 100644 --- a/hw/phb4.c +++ b/hw/phb4.c @@ -4074,7 +4074,7 @@ static void phb4_create(struct dt_node *np) p->phb.base_loc_code = dt_prop_get_def(dt_root, "ibm,io-base-loc-code", NULL); if (!p->phb.base_loc_code) - PHBERR(p, "Base location code not found !\n"); + PHBDBG(p, "Base location code not found !\n"); /* * Grab CEC IO VPD load info from the root of the device-tree, -- cgit v1.1