summaryrefslogtreecommitdiffstats
path: root/cf-code
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 18:01:44 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 18:06:52 +1000
commitba79a6a620e1a3b8afcb00fb5c8292a49f1c86e2 (patch)
tree727550560ed085a7655f4695d33cddeb0061a002 /cf-code
parent6d2ee3dfbf3095ee71cc81634d3eb54dca64cfb8 (diff)
downloadcf-fsi-ba79a6a620e1a3b8afcb00fb5c8292a49f1c86e2.tar.gz
cf-fsi-ba79a6a620e1a3b8afcb00fb5c8292a49f1c86e2.zip
Switch GPIOs to output after send delay to match other driver
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-code')
-rw-r--r--cf-code/cf-fsi-fw.S8
1 files changed, 5 insertions, 3 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S
index fdaca54..8beeac9 100644
--- a/cf-code/cf-fsi-fw.S
+++ b/cf-code/cf-fsi-fw.S
@@ -416,12 +416,14 @@ start_command:
move.b #STAT_COMPLETE,%a1@(STAT_REG)
send_delay:
- /* Configure GPIOs to output */
- bsr config_gpio_out
-
/* Send delay after every command */
moveq #16,%d3
clock_out_zeros %d3
+
+ /* Configure GPIOs to output */
+ bsr config_gpio_out
+
+ /* Next command */
bra main_loop
start_break:
OpenPOWER on IntegriCloud