aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>2020-08-04 23:02:22 +0530
committerOliver O'Halloran <oohall@gmail.com>2020-08-07 16:00:20 +1000
commitb49aeb84c351769ef02ed3a4031a159a70be3e68 (patch)
tree70aa4deed247e063d1599dc90ab3687082972a88
parentc4e720439895c93ff9dc61004153b4571b0851f0 (diff)
downloadskiboot-b49aeb84c351769ef02ed3a4031a159a70be3e68.zip
skiboot-b49aeb84c351769ef02ed3a4031a159a70be3e68.tar.gz
skiboot-b49aeb84c351769ef02ed3a4031a159a70be3e68.tar.bz2
Add POWER9 Fleetwood platform support
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> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r--platforms/ibm-fsp/zz.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
index 1513b62..7c6050a 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;
}