aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2013-06-28 02:27:07 +0200
committerSpencer Oliver <spen@spen-soft.co.uk>2013-07-15 10:02:32 +0000
commit7ccc51108866128feb80dbc6024a135c89d229ed (patch)
tree7c24e6d194a4a8d8fa84cdafa9128d97b2386cfd /tcl/board
parent3777b08affb17de2ee6b1dc1436239c1fba7f99e (diff)
downloadriscv-openocd-7ccc51108866128feb80dbc6024a135c89d229ed.zip
riscv-openocd-7ccc51108866128feb80dbc6024a135c89d229ed.tar.gz
riscv-openocd-7ccc51108866128feb80dbc6024a135c89d229ed.tar.bz2
target: Pull out the jtag_rtck from iMX5x files
Pull the jtag_rtck setting from imx51.cfg and imx53.cfg . Since not all boards using these CPUs do support RTCK signal, move the configuration of RTCK into board files. Change-Id: I632c5d38e00ada8779a451cd26428fd122452001 Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Reviewed-on: http://openocd.zylin.com/1460 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/efikamx.cfg1
-rw-r--r--tcl/board/icnova_imx53_sodimm.cfg4
-rw-r--r--tcl/board/imx53loco.cfg4
3 files changed, 9 insertions, 0 deletions
diff --git a/tcl/board/efikamx.cfg b/tcl/board/efikamx.cfg
index f8ae25d..007b312 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 e37887e..aa6a148 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 4c8a8da..06c3993 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