This is an automated email from Gerrit.

Andreas Färber (afaer...@suse.de) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2571

-- gerrit

commit 4d9f7cb23dc5e3cc842b83341d5e3582b59685b7
Author: Andreas Färber <afaer...@suse.de>
Date:   Sun Mar 1 23:45:42 2015 +0100

    lpc4350: Add missing else statement
    
    From reading the code it looks as if JTAG support was broken.
    
    Change-Id: I62a6fb0cfd339808527d9d6391d6e67f87367f8f
    Signed-off-by: Andreas Färber <afaer...@suse.de>

diff --git a/tcl/target/lpc4350.cfg b/tcl/target/lpc4350.cfg
index fae54f7..86797d2 100644
--- a/tcl/target/lpc4350.cfg
+++ b/tcl/target/lpc4350.cfg
@@ -28,7 +28,7 @@ if { [info exists M4_SWD_TAPID] } {
 
 if { [using_jtag] } {
        set _M4_TAPID $_M4_JTAG_TAPID
-} {
+} else {
        set _M4_TAPID $_M4_SWD_TAPID
 }
 

-- 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to