summaryrefslogtreecommitdiffstats
path: root/include/chip.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-01-15 22:38:25 -0600
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-02-02 18:30:26 +1100
commitc9cadb4fe60d4d41fc45a35a1d2ae27e0632c679 (patch)
treeabdefbe0aa2b14b15198ba8cb56540823677d900 /include/chip.h
parent48dee7ac0bc259316b28fc27463625c605160a9a (diff)
downloadblackbird-skiboot-c9cadb4fe60d4d41fc45a35a1d2ae27e0632c679.tar.gz
blackbird-skiboot-c9cadb4fe60d4d41fc45a35a1d2ae27e0632c679.zip
xscom: Grab P9 DD1.0 revision level
To differentiate between 1.00, 1.01, 1.02 etc... Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/chip.h')
-rw-r--r--include/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chip.h b/include/chip.h
index 61b413ce..588db9ff 100644
--- a/include/chip.h
+++ b/include/chip.h
@@ -155,6 +155,7 @@ struct proc_chip {
/* These are only initialized after xcom_init */
enum proc_chip_type type;
uint32_t ec_level; /* 0xMm (DD1.0 = 0x10) */
+ uint8_t ec_rev; /* sub-revision */
/* Those two values are only populated on machines with an FSP
* dbob_id = Drawer/Block/Octant/Blade (DBOBID)
OpenPOWER on IntegriCloud