aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Grimm <grimm@linux.ibm.com>2020-01-28 12:55:43 -0500
committerRam Pai <linuxram@us.ibm.com>2020-11-03 12:52:37 -0500
commit8f190cc8a9fcbc6b18e6e5099a519a9f9a41f89d (patch)
treee0c61a8982c757b49972493d0884543ce4e607f3
parent2bbab94a44c04dd6a2ce5d9237c4d78eb0e1ccad (diff)
downloadskiboot-ultravisor.zip
skiboot-ultravisor.tar.gz
skiboot-ultravisor.tar.bz2
Add chip_dev_Associativity to secure-memory@ nodesultravisor
Signed-off-by: Ryan Grimm <grimm@linux.ibm.com>
-rw-r--r--core/mem_region.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/mem_region.c b/core/mem_region.c
index 47d7544..b0561a3 100644
--- a/core/mem_region.c
+++ b/core/mem_region.c
@@ -1068,7 +1068,8 @@ void mem_region_init(void)
* done by add_chip_dev_associativity()
*/
dt_for_each_node(dt_root, i) {
- if (!dt_has_node_property(i, "device_type", "memory"))
+ if (!dt_has_node_property(i, "device_type", "memory") &&
+ !dt_has_node_property(i, "device_type", "secure-memory"))
continue;
/* Add associativity properties */