[Skiboot] [PATCH 10/14] hdat: add new sppcrd_chip_info fields

Oliver O'Halloran oohall at gmail.com
Thu Jan 12 14:54:09 AEDT 2017


A number of new fields have been defined over the last few HDAT versions
that we have not used up until this point. This patch adds them to the
structure.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 hdata/spira.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/hdata/spira.h b/hdata/spira.h
index d989c6b40625..aa58b5599e5d 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -973,6 +973,19 @@ struct sppcrd_chip_info {
 	__be32 reserved;
 	__be32 dbob_id;
 	__be32 occ_state;
+	/* Version 0xC - none of these are used */
+	__be32 processor_fru_id;
+	__be32 chip_ec_level;
+	__be32 hw_module_id;
+	__be32 hw_card_id;
+	__be32 internal_drawer_nid;
+	__be32 ccm_nid;
+	/* Version 0xD */
+	__be32 capp0_func_state;
+	/* Version 0xE */
+	__be32 capp1_func_state;
+	/* Version 0x20 */
+	__be32 stop_levels;
 } __packed;
 
 /* Idata index 1 : Chip TOD */
-- 
2.7.4



More information about the Skiboot mailing list