summaryrefslogtreecommitdiffstats
path: root/cf-fsi-fw.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 20:15:14 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 20:15:14 +1000
commit362b07685bc7d3c529db12370e550543a6e9c4ae (patch)
tree000fd5c8c4228dd2b00d154c73188935f1b3886e /cf-fsi-fw.h
parentfdff87f432c8be208323bd3ab8826b6468e15eda (diff)
downloadcf-fsi-362b07685bc7d3c529db12370e550543a6e9c4ae.tar.gz
cf-fsi-362b07685bc7d3c529db12370e550543a6e9c4ae.zip
Add API version, FW version and system signature registers
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-fsi-fw.h')
-rw-r--r--cf-fsi-fw.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cf-fsi-fw.h b/cf-fsi-fw.h
index 2d0e2ed..44bd8cc 100644
--- a/cf-fsi-fw.h
+++ b/cf-fsi-fw.h
@@ -54,6 +54,14 @@
#define ECHO_DLY_REG 0x08
#define SEND_DLY_REG 0x09
+/* Signature & version */
+#define SYS_SIG_REG 0x0c /* 2 bytes system signature */
+#define FW_VERS_REG 0x0e
+#define API_VERS_REG 0x0f
+
+/* Current API version */
+#define API_VERSION 1
+
/* Command data area
*
* Last byte of message must be left aligned
OpenPOWER on IntegriCloud