diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-06 14:49:43 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-06 14:49:43 +1000 |
commit | 3fceea5544f8c7614c07ee9664783b750bb0e721 (patch) | |
tree | 661f086e001ab3d659c76adb77ee41e9fc1915e0 /cf-code | |
parent | 98d365ba53fa61531befe68bbf74db676405f7f7 (diff) | |
download | cf-fsi-3fceea5544f8c7614c07ee9664783b750bb0e721.tar.gz cf-fsi-3fceea5544f8c7614c07ee9664783b750bb0e721.zip |
Fix bug when clocking out 64-bit commands
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-code')
-rw-r--r-- | cf-code/cf-fsi-fw.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S index 4cabaf1..6a96fb5 100644 --- a/cf-code/cf-fsi-fw.S +++ b/cf-code/cf-fsi-fw.S @@ -318,11 +318,11 @@ start_command: * * Note: This assumes we have at least 1 bit to clock */ - btst.b #5,%d2 - beq 1f + moveq #32,%d3 + cmp.b %d3,%d2 + blt 1f /* Clock out 32 bits */ - moveq #32,%d3 sub.l %d3,%d2 0: clock_out_bit %d4 lsl.l #1,%d4 |