[Skiboot] [PATCH v5 10/10] Add POWER9 Fleetwood platform support

Vaidyanathan Srinivasan svaidy at linux.ibm.com
Wed Apr 22 15:04:19 AEST 2020


From: Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>

The system is larger than ZZ and uses P9 Cumulus chip.
However the interactions with host is via FSP and
FSP mailbox which are identical to a ZZ platform.

Add the DT string and detect as ZZ to avoid creating
a nearly identical FSP based platform.

Signed-off-by: Vaidyanathan Srinivasan <svaidy at linux.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 platforms/ibm-fsp/zz.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
index 1513b628..7c6050ab 100644
--- a/platforms/ibm-fsp/zz.c
+++ b/platforms/ibm-fsp/zz.c
@@ -156,6 +156,10 @@ static bool zz_probe(void)
 		return true;
 	}
 
+	/* Add Fleetwood FSP platform and map it to ZZ */
+	if (dt_node_is_compatible(dt_root, "ibm,fleetwood-m9s")) {
+		return true;
+        }
 	return false;
 }
 
-- 
2.26.1



More information about the Skiboot mailing list