From c520fdf902d0364681f358cd04f932f2a112cd78 Mon Sep 17 00:00:00 2001 From: Matthias Welwarsky Date: Thu, 7 Jan 2016 13:06:37 +0100 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/3190 Tested-by: jenkins Reviewed-by: Felipe Balbi Reviewed-by: Paul Fertser --- tcl/board/ti_am437x_idk.cfg | 6 +----- tcl/target/am437x.cfg | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/tcl/board/ti_am437x_idk.cfg b/tcl/board/ti_am437x_idk.cfg index ce9c9a737e..65e2094e8e 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 507d51e234..4f97f812e5 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 } -- 2.30.2