summaryrefslogtreecommitdiffstats
path: root/cf-code/cf-fsi-fw.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 19:37:45 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 19:37:45 +1000
commit389e7936ba57d70e28e75a3ab2ee80930682056e (patch)
tree1a16900dfc1763bca108d3cf7997506c9d9a1da1 /cf-code/cf-fsi-fw.S
parent539a40d9324792b58b6cf550611d52afa891f931 (diff)
downloadcf-fsi-389e7936ba57d70e28e75a3ab2ee80930682056e.tar.gz
cf-fsi-389e7936ba57d70e28e75a3ab2ee80930682056e.zip
Configure send/echo delay
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-code/cf-fsi-fw.S')
-rw-r--r--cf-code/cf-fsi-fw.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S
index a6cacee..f7bdcc6 100644
--- a/cf-code/cf-fsi-fw.S
+++ b/cf-code/cf-fsi-fw.S
@@ -275,7 +275,7 @@ start_command:
bne 0b
2: /* Done sending, ready to receive, first echo delay */
- moveq #16,%d3
+ move.b %a1@(ECHO_DLY_REG),%d3 /* d3 is already 0 */
clock_out_zeros %d3
/* Set GPIO and transceivers to input */
@@ -360,7 +360,8 @@ start_command:
send_delay:
/* Send delay after every command */
- moveq #16,%d3
+ moveq.l #0,%d3
+ move.b %a1@(SEND_DLY_REG),%d3
clock_out_zeros %d3
/* Configure GPIOs to output */
OpenPOWER on IntegriCloud