target: Pull out the jtag_rtck from iMX5x files 60/1460/2
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 28 Jun 2013 00:27:07 +0000 (02:27 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 15 Jul 2013 10:02:32 +0000 (10:02 +0000)
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>
tcl/board/efikamx.cfg
tcl/board/icnova_imx53_sodimm.cfg
tcl/board/imx53loco.cfg
tcl/target/imx51.cfg
tcl/target/imx53.cfg

index f8ae25d82c4857c87a7c9abd74b3a0a27bde7eb4..007b312beb6318149af130ab36054ff80e19cca7 100644 (file)
@@ -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]
 
index e37887e558a602907e82f994930f816399de9457..aa6a148a0a9cd059f9716b17f4cab8cc9798d1bd 100644 (file)
@@ -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
index 4c8a8da129dbc005d6fc6cea2dcc16e3483702db..06c3993781e93d6eb1481ca1833f179022b87741 100644 (file)
@@ -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
 
index 0ee388c93ee682a3a2f5ee995ad763efc8661e54..15d5c048f2216ccc9eed63f57cce1384c940c192 100644 (file)
@@ -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"
index 61fabc8a73814afeba5f20ce4e0cbb4e3bd6f56a..e77bc340d0aaf3332c45ff68ce39be2997d93116 100644 (file)
@@ -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"

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)