From 3fceea5544f8c7614c07ee9664783b750bb0e721 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Wed, 6 Jun 2018 14:49:43 +1000 Subject: Fix bug when clocking out 64-bit commands Signed-off-by: Benjamin Herrenschmidt --- cf-code/cf-fsi-fw.S | 6 +++--- 1 file 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 -- cgit v1.2.1