aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-06-24 14:17:10 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-26 14:28:58 +1000
commit82546c64a890e677c6bf5b2d1e276f43020f45d3 (patch)
treeb3a168be7c4c126800621b15cbca1570df2dfb43 /hw
parent077fdef306529c7d266f13dbfd56c25da211df96 (diff)
downloadskiboot-82546c64a890e677c6bf5b2d1e276f43020f45d3.zip
skiboot-82546c64a890e677c6bf5b2d1e276f43020f45d3.tar.gz
skiboot-82546c64a890e677c6bf5b2d1e276f43020f45d3.tar.bz2
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 <benh@kernel.crashing.org> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb3.c2
-rw-r--r--hw/phb4.c2
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,