diff mbox series

[v5,10/10] Add POWER9 Fleetwood platform support

Message ID 20200422050419.72957-11-svaidy@linux.ibm.com
State Superseded
Headers show
Series Initial fused-core support for POWER9 | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (9547b3da44d546f0083dd3aeb5436226fccf81e3)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Vaidyanathan Srinivasan April 22, 2020, 5:04 a.m. UTC
From: Vaidyanathan Srinivasan <svaidy@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@linux.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
---
 platforms/ibm-fsp/zz.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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;
 }