aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2017-08-22 08:09:49 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-22 13:24:18 +1000
commita72cc3cefb5b3f25f419c1233b3b65779174a3e4 (patch)
tree79f8df5e438a856d7dc5cd19025c3abde9ff09fc /hdata/spira.h
parentb8ac8cde994023806c976878b8c86c02f74f03e4 (diff)
downloadskiboot-a72cc3cefb5b3f25f419c1233b3b65779174a3e4.zip
skiboot-a72cc3cefb5b3f25f419c1233b3b65779174a3e4.tar.gz
skiboot-a72cc3cefb5b3f25f419c1233b3b65779174a3e4.tar.bz2
opal: Extract sw checkstop fir address from HDAT.
Extract sw checkstop fir address info from HDAT and populate device tree node ibm,sw-checkstop-fir. This patch is required for OPAL_CEC_REBOOT2 OPAL call to work as expected on p9. With this patch a device property 'ibm,sw-checkstop-fir' is now properly populated: # lsprop ibm,sw-checkstop-fir ibm,sw-checkstop-fir 05012000 0000001f Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Tested-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r--hdata/spira.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index 4867b6d..0276d4a 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -1035,6 +1035,10 @@ struct sppcrd_chip_info {
__be32 capp1_func_state;
/* *possibly* from Version 0x20 - check spec */
__be32 stop_levels;
+ /* From latest version (possibly 0x21 and later) */
+ __be32 sw_xstop_fir_scom;
+ uint8_t sw_xstop_fir_bitpos;
+ uint8_t reserved_1[3];
} __packed;
/* Idata index 1 : Chip TOD */