This is an automated email from Gerrit.

Felipe Balbi (ba...@ti.com) just uploaded a new patch set to Gerrit, which you 
can find at http://openocd.zylin.com/2622

-- gerrit

commit dbbf1680a43600296247cd339289ed4950d1b87c
Author: Felipe Balbi <ba...@ti.com>
Date:   Thu Mar 19 12:59:44 2015 -0500

    target: icepick: switch over to icepick_c_router
    
    Reusing what's already there to ease maintainability.
    
    Change-Id: I2030581669c644e2d9d9f9968075ab6344445d04
    Signed-off-by: Felipe Balbi <ba...@ti.com>

diff --git a/tcl/target/icepick.cfg b/tcl/target/icepick.cfg
index 13a6a51..3a0afde 100644
--- a/tcl/target/icepick.cfg
+++ b/tcl/target/icepick.cfg
@@ -116,8 +116,7 @@ proc icepick_d_tapenable {jrc port} {
        icepick_c_connect $jrc
 
        # Select the port
-       irscan $jrc [CONST IR_ROUTER] -endstate IRPAUSE
-       drscan $jrc 32 [expr 0xa0002108 + ($port << 24)] -endstate DRPAUSE
+       icepick_c_router $jrc 1 0x2 $port 0x2108
 
        # Set 4 bit core ID to the Cortex-A
        irscan $jrc [CONST IR_ROUTER] -endstate IRPAUSE

-- 

------------------------------------------------------------------------------
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