summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cf-code/cf-fsi-romulus.h2
-rw-r--r--cf-code/cf-fsi-witherspoon.h2
-rw-r--r--cf-fsi-fw.h6
3 files changed, 6 insertions, 4 deletions
diff --git a/cf-code/cf-fsi-romulus.h b/cf-code/cf-fsi-romulus.h
index fc534b4..5e8be70 100644
--- a/cf-code/cf-fsi-romulus.h
+++ b/cf-code/cf-fsi-romulus.h
@@ -5,4 +5,4 @@
#define TRANS_GPIO_REG 0x080
#define TRANS_GPIO_BIT 10
-#define SYS_SIG 0x526d /* 'Rm' */
+#define SYS_SIG SYS_SIG_ROMULUS
diff --git a/cf-code/cf-fsi-witherspoon.h b/cf-code/cf-fsi-witherspoon.h
index c5b4084..85b7f19 100644
--- a/cf-code/cf-fsi-witherspoon.h
+++ b/cf-code/cf-fsi-witherspoon.h
@@ -5,4 +5,4 @@
#define TRANS_GPIO_REG 0x080
#define TRANS_GPIO_BIT 10
-#define SYS_SIG 0x5773 /* 'Ws' */
+#define SYS_SIG SYS_SIG_WITHERSPOON
diff --git a/cf-fsi-fw.h b/cf-fsi-fw.h
index 0cbcb20..4942901 100644
--- a/cf-fsi-fw.h
+++ b/cf-fsi-fw.h
@@ -56,6 +56,8 @@
/* Signature & version */
#define SYS_SIG_REG 0x0c /* 2 bytes system signature */
+#define SYS_SIG_ROMULUS 0x526d /* 'Rm' */
+#define SYS_SIG_WITHERSPOON 0x5773 /* 'Ws' */
#define FW_VERS_REG 0x0e
#define API_VERS_REG 0x0f
@@ -88,8 +90,8 @@
* SRAM layout: Trace buffer (debug builds only)
*/
#define TRACEBUF 0x100
-#define TR_CLKOBIT0 0x80
-#define TR_CLKOBIT1 0x81
+#define TR_CLKOBIT0 0xc0
+#define TR_CLKOBIT1 0xc1
#define TR_CLKOSTART 0x82
#define TR_OLEN 0x83/* + len */
#define TR_CLKZ 0x84 /* + count */
OpenPOWER on IntegriCloud