]> git.sur5r.net Git - openocd/commitdiff
fm4: Add JTAG support
authorAndreas Färber <afaerber@suse.de>
Tue, 20 Oct 2015 00:28:12 +0000 (02:28 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Fri, 30 Oct 2015 12:52:50 +0000 (12:52 +0000)
Add support for the JTAG TAPID found on SK-FM4-U120-9B560-MEM V1.1.0 board.

Change-Id: Idbfe28927e0c549f0c89c29904d23971281927c9
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3039
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
tcl/target/fm4.cfg

index dcf0601f017ae527ce028c35590c59e66dc9d873..e5d0f8d60e2336544ebd885594323a2e1e3a3356 100644 (file)
@@ -12,6 +12,8 @@ source [find target/swj-dp.tcl]
 
 if { [info exists CPUTAPID] } {
        set _CPU_TAPID $CPUTAPID
+} elseif { [using_jtag] } {
+       set _CPU_TAPID 0x4ba00477
 } else {
        set _CPU_TAPID 0x2ba01477
 }