[Skiboot] [RFC PATCH 2/5] hdat: add new sppcrd_chip_info fields

Oliver O'Halloran oohall at gmail.com
Fri Sep 16 16:45:00 AEST 2016


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 eabf7f953ab7..1acd5478863b 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -931,6 +931,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.5.5



More information about the Skiboot mailing list