[Skiboot] [PATCH] hdata: Add Axone IOHUB support
Oliver O'Halloran
oohall at gmail.com
Tue Aug 20 20:34:55 AEST 2019
The PEC / PHB mapping is the same on P9P / Axone as it is on Nimbus
add it to the HDAT parser so we get PCI.
Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
hdata/iohub.c | 4 ++++
hdata/spira.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/hdata/iohub.c b/hdata/iohub.c
index 99c31c0292f4..6921d95ce322 100644
--- a/hdata/iohub.c
+++ b/hdata/iohub.c
@@ -809,6 +809,10 @@ static void io_parse_fru(const void *sp_iohubs)
prlog(PR_INFO, "CEC: Cumulus !\n");
io_add_p9(hub, sp_iohubs);
break;
+ case CECHUB_HUB_AXONE_HOPPER:
+ prlog(PR_INFO, "CEC: Axone !\n");
+ io_add_p9(hub, sp_iohubs);
+ break;
default:
prlog(PR_ERR, "CEC: Hub ID 0x%04x unsupported !\n",
hub_id);
diff --git a/hdata/spira.h b/hdata/spira.h
index ce24441ca994..eb5d1ea1b707 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -650,6 +650,7 @@ struct cechub_io_hub {
#define CECHUB_HUB_NIMBUS_MONZA 0x0021 /* Nimbus+monza from spec */
#define CECHUB_HUB_NIMBUS_LAGRANGE 0x0022 /* Nimbus+lagrange from spec */
#define CECHUB_HUB_CUMULUS_DUOMO 0x0030 /* cumulus+duomo from spec */
+#define CECHUB_HUB_AXONE_HOPPER 0x0040 /* axone+hopper */
__be32 ec_level;
__be32 aff_dom2; /* HDAT < v9.x only */
__be32 aff_dom3; /* HDAT < v9.x only */
--
2.21.0
More information about the Skiboot
mailing list