aboutsummaryrefslogtreecommitdiff
path: root/hdata/spira.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-09-13 10:54:23 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-19 04:16:53 -0500
commit6fa9cea1638dcada59d27e924616fac509cf25f8 (patch)
tree6d447762c4e1d5e1570bd1068a169f24b49ffad5 /hdata/spira.h
parentb7f41322c61ea903f298544463d386a8a9cc6de5 (diff)
downloadskiboot-6fa9cea1638dcada59d27e924616fac509cf25f8.zip
skiboot-6fa9cea1638dcada59d27e924616fac509cf25f8.tar.gz
skiboot-6fa9cea1638dcada59d27e924616fac509cf25f8.tar.bz2
hdata: Add ecid property
Add ecid property under xscom node. Sample output: ------------- [root@wsp xscom@623fc00000000]# lsprop ecid ecid 019a00d4 03100718 852c0000 00fd7911 Signed-off-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.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/hdata/spira.h b/hdata/spira.h
index f850c79..49acf5c 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2014 IBM Corp.
+/* Copyright 2013-2017 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1183,6 +1183,16 @@ struct sppcrd_smp_link {
__be16 gpu_slca;
} __packed;
+/* Idata index 8 : chip EC Level array */
+#define SPPCRD_IDATA_EC_LEVEL 8
+
+struct sppcrd_ecid {
+ __be32 chip_id;
+ __be32 ec_level;
+ __be64 low; /* Processor ECID bit 0-63 */
+ __be64 high; /* Processor ECID bit 64-127 */
+} __packed;
+
/*
* Host Services Data.
*/