aboutsummaryrefslogtreecommitdiff
path: root/hw/nx-rng.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-08-01 14:06:57 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-01 14:06:57 +1000
commitd111ad209af573ae488e99a2262546d62f59f7f2 (patch)
treef3f023804bbcb728d210d628242b8327071c08be /hw/nx-rng.c
parent1f2f67aa78fa1e4f9ce7b2e5a4e9fe29760e5b72 (diff)
downloadskiboot-d111ad209af573ae488e99a2262546d62f59f7f2.zip
skiboot-d111ad209af573ae488e99a2262546d62f59f7f2.tar.gz
skiboot-d111ad209af573ae488e99a2262546d62f59f7f2.tar.bz2
nx: PR_INFO that NX RNG and Crypto not yet supported on POWER9
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/nx-rng.c')
-rw-r--r--hw/nx-rng.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/nx-rng.c b/hw/nx-rng.c
index dc419cb..51940e2 100644
--- a/hw/nx-rng.c
+++ b/hw/nx-rng.c
@@ -43,6 +43,10 @@ void nx_create_rng_node(struct dt_node *node)
xbar = pb_base + NX_P8_RNG_BAR;
xcfg = pb_base + NX_P8_RNG_CFG;
addr_mask = NX_P8_RNG_BAR_ADDR;
+ } else if (dt_node_is_compatible(node, "ibm, power9-nx")) {
+ prlog(PR_INFO, "NX%d: POWER9 nx-rng not yet supported\n",
+ gcid);
+ return;
} else {
prerror("NX%d: Unknown NX type!\n", gcid);
return;