[Skiboot] [PATCH] hw/nx*: Remove extraneous space character

Oliver O'Halloran oohall at gmail.com
Thu Aug 17 17:40:19 AEST 2017


"ibm, power9-nx" should be "ibm,power9-nx" and the mismatch was
causing nuisance errors at boot.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 hw/nx-crypto.c | 2 +-
 hw/nx-rng.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/nx-crypto.c b/hw/nx-crypto.c
index fd5f43d8ed0b..9699892521e2 100644
--- a/hw/nx-crypto.c
+++ b/hw/nx-crypto.c
@@ -265,7 +265,7 @@ void nx_create_crypto_node(struct dt_node *node)
 		cfg_asym = pb_base + NX_P8_ASYM_CFG;
 		cfg_iq = pb_base + NX_P8_CRB_IQ;
 		cfg_ee = pb_base + NX_P8_EE_CFG;
-	} else if (dt_node_is_compatible(node, "ibm, power9-nx")) {
+	} else if (dt_node_is_compatible(node, "ibm,power9-nx")) {
 		prlog(PR_INFO, "NX%d: POWER9 nx-crypto not yet supported\n",
 		      gcid);
 		return;
diff --git a/hw/nx-rng.c b/hw/nx-rng.c
index 51940e28dc9d..48eba5695d40 100644
--- a/hw/nx-rng.c
+++ b/hw/nx-rng.c
@@ -43,7 +43,7 @@ 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")) {
+	} else if (dt_node_is_compatible(node, "ibm,power9-nx")) {
 		prlog(PR_INFO, "NX%d: POWER9 nx-rng not yet supported\n",
 		      gcid);
 		return;
-- 
2.9.4



More information about the Skiboot mailing list