This is an automated email from Gerrit.

Tomas Vanek ([email protected]) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/6137

-- gerrit

commit c844227090558fa16d61c516364df945cfeb80ea
Author: Tomas Vanek <[email protected]>
Date:   Mon Apr 5 06:32:47 2021 +0200

    target/adi_v5_swd: remove double space from swd_cmd() parameters
    
    Change-Id: I6b68868947010512c4de76e5d37142f067e27b06
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/src/target/adi_v5_swd.c b/src/target/adi_v5_swd.c
index b25181e..f1fca40 100644
--- a/src/target/adi_v5_swd.c
+++ b/src/target/adi_v5_swd.c
@@ -74,7 +74,7 @@ static void swd_clear_sticky_errors(struct adiv5_dap *dap)
        const struct swd_driver *swd = adiv5_dap_swd_driver(dap);
        assert(swd);
 
-       swd->write_reg(swd_cmd(false,  false, DP_ABORT),
+       swd->write_reg(swd_cmd(false, false, DP_ABORT),
                STKCMPCLR | STKERRCLR | WDERRCLR | ORUNERRCLR, 0);
 }
 
@@ -174,7 +174,7 @@ static int swd_connect(struct adiv5_dap *dap)
 
                dap->do_reconnect = false;
 
-               swd->write_reg(swd_cmd(false,  false, DP_ABORT),
+               swd->write_reg(swd_cmd(false, false, DP_ABORT),
                        DAPABORT | STKCMPCLR | STKERRCLR | WDERRCLR | 
ORUNERRCLR, 0);
                status = swd_run_inner(dap);
        }
@@ -325,7 +325,7 @@ static int swd_queue_ap_read(struct adiv5_ap *ap, unsigned 
reg,
        if (retval != ERROR_OK)
                return retval;
 
-       swd->read_reg(swd_cmd(true,  true, reg), dap->last_read, 
ap->memaccess_tck);
+       swd->read_reg(swd_cmd(true, true, reg), dap->last_read, 
ap->memaccess_tck);
        dap->last_read = data;
 
        return check_sync(dap);
@@ -347,7 +347,7 @@ static int swd_queue_ap_write(struct adiv5_ap *ap, unsigned 
reg,
        if (retval != ERROR_OK)
                return retval;
 
-       swd->write_reg(swd_cmd(false,  true, reg), data, ap->memaccess_tck);
+       swd->write_reg(swd_cmd(false, true, reg), data, ap->memaccess_tck);
 
        return check_sync(dap);
 }

-- 

Reply via email to