summaryrefslogtreecommitdiffstats
path: root/cf-fsi-fw.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-11 21:15:52 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-11 21:15:52 +1000
commit73270458ec5e9fc818f6da2a6d031360ad0b6dae (patch)
tree28814676471d8a6346d8ae320c5b3c1711a2fde2 /cf-fsi-fw.h
parentea4e9490301b774cfc01ed92d7566d899ba7e7eb (diff)
downloadcf-fsi-73270458ec5e9fc818f6da2a6d031360ad0b6dae.tar.gz
cf-fsi-73270458ec5e9fc818f6da2a6d031360ad0b6dae.zip
Use a separate "started" flag
Relying on the command-status is dicey, the GPIO arbitration code needs a more reliable way to know we are actually running Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-fsi-fw.h')
-rw-r--r--cf-fsi-fw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cf-fsi-fw.h b/cf-fsi-fw.h
index 48c762e..5f6cffd 100644
--- a/cf-fsi-fw.h
+++ b/cf-fsi-fw.h
@@ -101,6 +101,7 @@
/* Misc */
#define INT_CNT 0x30 /* 32-bit interrupt count */
#define BAD_INT_VEC 0x34
+#define CF_STARTED 0x38 /* byte, set to -1 when copro started */
/*
* SRAM layout: GPIO arbitration part
OpenPOWER on IntegriCloud