aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/efikamx.cfg1
-rw-r--r--tcl/board/icnova_imx53_sodimm.cfg4
-rw-r--r--tcl/board/imx53loco.cfg4
-rw-r--r--tcl/target/imx51.cfg4
-rw-r--r--tcl/target/imx53.cfg4
5 files changed, 9 insertions, 8 deletions
diff --git a/tcl/board/efikamx.cfg b/tcl/board/efikamx.cfg
index f8ae25d8..007b312b 100644
--- a/tcl/board/efikamx.cfg
+++ b/tcl/board/efikamx.cfg
@@ -3,6 +3,7 @@
# Fall back to 6MHz if RTCK is not supported
jtag_rclk 6000
+$_TARGETNAME configure -event "reset-start" { jtag_rclk 6000 }
source [find target/imx51.cfg]
diff --git a/tcl/board/icnova_imx53_sodimm.cfg b/tcl/board/icnova_imx53_sodimm.cfg
index e37887e5..aa6a148a 100644
--- a/tcl/board/icnova_imx53_sodimm.cfg
+++ b/tcl/board/icnova_imx53_sodimm.cfg
@@ -17,6 +17,10 @@ echo "i.MX53 SO-Dimm board lodaded."
adapter_khz 3000
+# Slow speed to be sure it will work
+jtag_rclk 1000
+$_TARGETNAME configure -event "reset-start" { jtag_rclk 1000 }
+
$_TARGETNAME configure -event "reset-assert" {
echo "Reseting ...."
#cortex_a dbginit
diff --git a/tcl/board/imx53loco.cfg b/tcl/board/imx53loco.cfg
index 4c8a8da1..06c39937 100644
--- a/tcl/board/imx53loco.cfg
+++ b/tcl/board/imx53loco.cfg
@@ -15,6 +15,10 @@ echo "iMX53 Loco board lodaded."
adapter_khz 3000
+# Slow speed to be sure it will work
+jtag_rclk 1000
+$_TARGETNAME configure -event "reset-start" { jtag_rclk 1000 }
+
#jtag_nsrst_delay 200
#jtag_ntrst_delay 200
diff --git a/tcl/target/imx51.cfg b/tcl/target/imx51.cfg
index 0ee388c9..15d5c048 100644
--- a/tcl/target/imx51.cfg
+++ b/tcl/target/imx51.cfg
@@ -44,8 +44,4 @@ proc imx51_dbginit {target} {
cortex_a dbginit
}
-# Slow speed to be sure it will work
-jtag_rclk 1000
-$_TARGETNAME configure -event "reset-start" { jtag_rclk 1000 }
-
$_TARGETNAME configure -event reset-assert-post "imx51_dbginit $_TARGETNAME"
diff --git a/tcl/target/imx53.cfg b/tcl/target/imx53.cfg
index 61fabc8a..e77bc340 100644
--- a/tcl/target/imx53.cfg
+++ b/tcl/target/imx53.cfg
@@ -44,8 +44,4 @@ proc imx53_dbginit {target} {
cortex_a dbginit
}
-# Slow speed to be sure it will work
-jtag_rclk 1000
-$_TARGETNAME configure -event "reset-start" { jtag_rclk 1000 }
-
$_TARGETNAME configure -event reset-assert-post "imx53_dbginit $_TARGETNAME"