This is an automated email from Gerrit.

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

-- gerrit

commit 55871babb3fea3a2559276f6845bf4d34916effd
Author: Spencer Oliver <[email protected]>
Date:   Mon Nov 26 14:27:07 2012 +0000

    jtag: fix reset_config copy/paste error
    
    As the other arg checks do not OR, it is assumed this is a copy/paste error
    from the original code author.
    
    Change-Id: I7dfc7396254a6f558887def951c57dfd4a0e6c2c
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/jtag/adapter.c b/src/jtag/adapter.c
index ec65827..136b330 100644
--- a/src/jtag/adapter.c
+++ b/src/jtag/adapter.c
@@ -274,7 +274,7 @@ COMMAND_HANDLER(handle_reset_config_command)
                        goto next;
 
                /* srst_type (NOP without HAS_SRST) */
-               m |= RESET_SRST_PUSH_PULL;
+               m = RESET_SRST_PUSH_PULL;
                if (strcmp(*CMD_ARGV, "srst_push_pull") == 0)
                        tmp |= RESET_SRST_PUSH_PULL;
                else if (strcmp(*CMD_ARGV, "srst_open_drain") == 0)

-- 

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to