[platforms/zz] Recognize the 2s2u zz platform

Submitted by Ananth N Mavinakayanahalli on Aug. 10, 2017, 3:04 p.m.

Details

Message ID 150237749406.2693.15423043286968416423.stgit@thinktux.in.ibm.com
State Accepted
Headers show

Commit Message

Ananth N Mavinakayanahalli Aug. 10, 2017, 3:04 p.m.
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@linux.vnet.ibm.com>
---
 platforms/ibm-fsp/zz.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Stewart Smith Aug. 15, 2017, 12:51 a.m.
Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com> writes:
> 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@linux.vnet.ibm.com>
> ---
>  platforms/ibm-fsp/zz.c |    1 +
>  1 file changed, 1 insertion(+)

Thanks, merged to master as of 2c67c7bc4a780f46253c6947dbfce29a9a1f7efa

Sam, can you spin a ZZ build and poke FSP folk for this one?

Patch hide | download patch | download mbox

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;