summaryrefslogtreecommitdiffstats
path: root/cf-fsi-fw.h
diff options
context:
space:
mode:
Diffstat (limited to 'cf-fsi-fw.h')
-rw-r--r--cf-fsi-fw.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/cf-fsi-fw.h b/cf-fsi-fw.h
index 44bd8cc..36df3c9 100644
--- a/cf-fsi-fw.h
+++ b/cf-fsi-fw.h
@@ -2,7 +2,7 @@
#define __CF_FSI_FW_H
/*
- * SRAM layout
+ * SRAM layout: Main part
*/
/* Command register:
@@ -74,7 +74,7 @@
/* Misc */
#define INT_CNT 0x30 /* 32-bit interrupt count */
#define BAD_INT_VEC 0x34
-#define TRACEBUF 0x40
+#define TRACEBUF 0x100
#define TR_CLKOSTART 0x00
#define TR_OLEN 0x01/* + len */
#define TR_CLKOBIT0 0x02
@@ -87,5 +87,12 @@
#define TR_CLKIBIT0 0x80
#define TR_CLKIBIT1 0x81
+/*
+ * SRAM layout: GPIO arbitration part
+ */
+#define ARB_REG 0x40
+#define ARB_ARM_REQ 0x01
+#define ARB_ARM_ACK 0x02
+
#endif /* __CF_FSI_FW_H */
OpenPOWER on IntegriCloud