]> git.sur5r.net Git - openocd/commitdiff
am437x: always use highest possible JTAG clock.
authorMatthias Welwarsky <matthias@welwarsky.de>
Thu, 7 Jan 2016 12:06:37 +0000 (13:06 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 22 Jan 2016 13:03:39 +0000 (13:03 +0000)
With DAP WAIT support, it's no longer necessary to start with slow
JTAG clock.

Change-Id: I2cb62c44752b27e6854637e8073e9f9501f5a660
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/3190
Tested-by: jenkins
Reviewed-by: Felipe Balbi <balbi@ti.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
tcl/board/ti_am437x_idk.cfg
tcl/target/am437x.cfg

index ce9c9a737e9813742ef5ddec1877fc751c472c6f..65e2094e8e8eb6f05c9066bdf26476b55499c07e 100644 (file)
@@ -4,13 +4,9 @@
 source [find interface/ftdi/xds100v2.cfg]
 
 transport select jtag
-adapter_khz 1000
+adapter_khz 30000
 
 source [find target/am437x.cfg]
 $_TARGETNAME configure -event reset-init { init_platform 0x61a11b32 }
 
 reset_config trst_and_srst
-
-init
-ftdi_set_signal PWR_RST 1
-jtag arp_init
index 507d51e2347caeac2000d84ac7ae0764e8ed59ce..4f97f812e54ccf01018bdfb44c57eef16dd3c1e1 100644 (file)
@@ -993,11 +993,7 @@ proc config_ddr3 { SDRAM_CONFIG } {
 proc init_platform { SDRAM_CONFIG } {
        config_opp100
        config_ddr3 $SDRAM_CONFIG
-
-       # now that PLLs are configured, we can run JTAG at full speed
-       adapter_khz 16000
 }
 
-$_TARGETNAME configure -event reset-start { adapter_khz 1000 }
 $_TARGETNAME configure -event reset-init { init_platform 0x61a013b2 }
 $_TARGETNAME configure -event reset-end { disable_watchdog }