aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorMatthias Welwarsky <matthias@welwarsky.de>2016-01-07 13:06:37 +0100
committerPaul Fertser <fercerpav@gmail.com>2016-01-22 13:03:39 +0000
commitc520fdf902d0364681f358cd04f932f2a112cd78 (patch)
tree0346b1371013bcb3a034a6b51a2cec2ae1cf2220 /tcl
parentac8471f89d7bcc9090a6aba793ea054489c2f139 (diff)
am437x: always use highest possible JTAG clock.
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>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/ti_am437x_idk.cfg6
-rw-r--r--tcl/target/am437x.cfg4
2 files changed, 1 insertions, 9 deletions
diff --git a/tcl/board/ti_am437x_idk.cfg b/tcl/board/ti_am437x_idk.cfg
index ce9c9a73..65e2094e 100644
--- a/tcl/board/ti_am437x_idk.cfg
+++ b/tcl/board/ti_am437x_idk.cfg
@@ -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
diff --git a/tcl/target/am437x.cfg b/tcl/target/am437x.cfg
index 507d51e2..4f97f812 100644
--- a/tcl/target/am437x.cfg
+++ b/tcl/target/am437x.cfg
@@ -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 }