[Skiboot] [PATCH] [platforms/zz] Recognize the 2s2u zz platform

Ananth N Mavinakayanahalli ananth at linux.vnet.ibm.com
Fri Aug 11 01:04:59 AEST 2017


OPAL currently doesn't know about the 2s2u zz. It recognizes such a
box as a generic BMC machine and fails to boot. Add the 2s2u as a
supported platform.

There will subsequently be a 2s2u-L system which may have a different
compatible property, which will need to be handled later.

Signed-off-by: Ananth N Mavinakayanahalli <ananth at linux.vnet.ibm.com>
---
 platforms/ibm-fsp/zz.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
index c13911f..a8150b8 100644
--- a/platforms/ibm-fsp/zz.c
+++ b/platforms/ibm-fsp/zz.c
@@ -32,6 +32,7 @@ static bool zz_probe(void)
 	/* FIXME: make this neater when the dust settles */
 	if (dt_node_is_compatible(dt_root, "ibm,zz-1s2u") ||
 	    dt_node_is_compatible(dt_root, "ibm,zz-1s4u") ||
+	    dt_node_is_compatible(dt_root, "ibm,zz-2s2u") ||
 	    dt_node_is_compatible(dt_root, "ibm,zz-2s4u"))
 		return true;
 



More information about the Skiboot mailing list