aboutsummaryrefslogtreecommitdiff
path: root/hdata
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-01-13 14:08:26 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-16 11:54:15 +1100
commit3f7b42a380b051db601e1140e6f575b39794c513 (patch)
tree0844afb70685a0aa3e56adee011253e728aa68de /hdata
parent7f4730d5841fd9ee528b6aa8e09748bc6b8b05ee (diff)
downloadskiboot-3f7b42a380b051db601e1140e6f575b39794c513.zip
skiboot-3f7b42a380b051db601e1140e6f575b39794c513.tar.gz
skiboot-3f7b42a380b051db601e1140e6f575b39794c513.tar.bz2
hdat: Remove deprecated 'ibm, mem-interleave-scope' from DT
Memory interleaving scope under PCIA strcture is deprecated on P9. Also I don't see anyone in OPAL/kernel using this property. Hence remove this property from P9 DT. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r--hdata/spira.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hdata/spira.c b/hdata/spira.c
index f316f21..987955d 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -379,8 +379,10 @@ static void add_xscom_add_pcia_assoc(struct dt_node *np, uint32_t pcid)
if (!dt_find_property(np, "ibm,dbob-id"))
dt_add_property_cells(np, "ibm,dbob-id",
be32_to_cpu(id->drawer_book_octant_blade_id));
- dt_add_property_cells(np, "ibm,mem-interleave-scope",
+ if (proc_gen < proc_gen_p9) {
+ dt_add_property_cells(np, "ibm,mem-interleave-scope",
be32_to_cpu(id->memory_interleaving_scope));
+ }
return;
}
}