Skip to content

Commit

Permalink
hdat: Remove deprecated 'ibm, mem-interleave-scope' from DT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasant Hegde authored and stewartsmith committed Jan 16, 2017
1 parent 7f4730d commit 3f7b42a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hdata/spira.c
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 3f7b42a

Please sign in to comment.