diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-06 14:49:57 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-06 14:49:57 +1000 |
commit | 7bb0225cade2d7f352314e26d7bbf043c1de296c (patch) | |
tree | 4d4661e1dd970bc2e8a435989ec935d183b1c289 | |
parent | 3fceea5544f8c7614c07ee9664783b750bb0e721 (diff) | |
download | cf-fsi-7bb0225cade2d7f352314e26d7bbf043c1de296c.tar.gz cf-fsi-7bb0225cade2d7f352314e26d7bbf043c1de296c.zip |
Header cleanups
-rw-r--r-- | cf-code/cf-fsi-romulus.h | 2 | ||||
-rw-r--r-- | cf-code/cf-fsi-witherspoon.h | 2 | ||||
-rw-r--r-- | cf-fsi-fw.h | 6 |
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 */ |