diff options
-rw-r--r-- | cf-code/cf-fsi-fw.S | 4 | ||||
-rw-r--r-- | cf-fsi-fw.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S index 7bcc8c8..9ac91ee 100644 --- a/cf-code/cf-fsi-fw.S +++ b/cf-code/cf-fsi-fw.S @@ -198,6 +198,10 @@ _start: add.l #DATA_GPIO_VREG,%a4 movea.l #CVIC_BASE,%a2 + /* Store some diagnostic stuff */ + move.l %d0,%a1@(CF_RESET_D0) + move.l %d1,%a1@(CF_RESET_D1) + /* Cache clock bit number */ moveq.l #CLOCK_GPIO_BIT,%d5 diff --git a/cf-fsi-fw.h b/cf-fsi-fw.h index 5f6cffd..3df60e6 100644 --- a/cf-fsi-fw.h +++ b/cf-fsi-fw.h @@ -110,6 +110,10 @@ #define ARB_ARM_REQ 0x01 #define ARB_ARM_ACK 0x02 +/* Misc2 */ +#define CF_RESET_D0 0x50 +#define CF_RESET_D1 0x54 + /* * SRAM layout: Trace buffer (debug builds only) */ |