diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-11 20:59:24 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-11 20:59:24 +1000 |
commit | ea4e9490301b774cfc01ed92d7566d899ba7e7eb (patch) | |
tree | eee45b10a76d77ea1883020778cd09e70572175a /cf-code | |
parent | 1b05374650ed9da9eb14154490b490caf62b99bc (diff) | |
download | cf-fsi-ea4e9490301b774cfc01ed92d7566d899ba7e7eb.tar.gz cf-fsi-ea4e9490301b774cfc01ed92d7566d899ba7e7eb.zip |
Add marker at end of traces
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-code')
-rw-r--r-- | cf-code/cf-fsi-fw.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S index 914159f..000e476 100644 --- a/cf-code/cf-fsi-fw.S +++ b/cf-code/cf-fsi-fw.S @@ -332,6 +332,7 @@ command_request: beq start_idle_clocks /* Error */ + trace #TR_END move.b #STAT_ERR_INVAL_CMD,%a1@(CMD_STAT_REG) bra main_loop @@ -401,6 +402,7 @@ start_command: beq 1f subq.l #1,%d3 bne 0b + trace #TR_END move.b #STAT_ERR_MTOE,%a1@(CMD_STAT_REG) bra send_delay @@ -465,6 +467,9 @@ start_command: and.l %d0,%d4 move.b %d4,%a1@(STAT_RCRC) + /* End trace */ + trace #TR_END + /* Mark command complete */ moveq.l #STAT_COMPLETE,%d0 byterev %d0 @@ -499,6 +504,9 @@ start_break: move.l #FSI_POST_BREAK_CLOCKS,%d3 clock_out_zeros %d3 + /* End trace */ + trace #TR_END + /* Mark command complete */ moveq.l #STAT_COMPLETE,%d0 byterev %d0 @@ -515,6 +523,9 @@ start_idle_clocks: move.b %d2,%d3 clock_out_zeros %d3 + /* End trace */ + trace #TR_END + /* Mark command complete */ moveq.l #STAT_COMPLETE,%d0 byterev %d0 |