diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-10 11:53:45 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-10 11:53:45 +1000 |
commit | 830fc9a0ed0a4066129cfafd1447dc40a66b8700 (patch) | |
tree | df56747e69e93145c2ead7d3b661e37f1ac8d2d2 /hw | |
parent | 07937c792d3e028cf2eef68b5957813a5fddcbb9 (diff) | |
download | skiboot-830fc9a0ed0a4066129cfafd1447dc40a66b8700.zip skiboot-830fc9a0ed0a4066129cfafd1447dc40a66b8700.tar.gz skiboot-830fc9a0ed0a4066129cfafd1447dc40a66b8700.tar.bz2 |
hdata/spira: POWER9 NX isn't software compatible with P7/P8 NX, don't claim so
Fixes: 2512953c7c6dc3b479d159d9bce8206219951164
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/nx.c | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -69,6 +69,12 @@ void nx_p9_rng_init(void) } } +static void nx_init_one(struct dt_node *node) +{ + nx_create_rng_node(node); + nx_create_crypto_node(node); + nx_create_compress_node(node); +} void nx_init(void) { @@ -77,8 +83,10 @@ void nx_init(void) nx_p9_rng_init(); dt_for_each_compatible(dt_root, node, "ibm,power-nx") { - nx_create_rng_node(node); - nx_create_crypto_node(node); - nx_create_compress_node(node); + nx_init_one(node); + } + + dt_for_each_compatible(dt_root, node, "ibm,power9-nx") { + nx_init_one(node); } } |