aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2018-08-10 16:06:43 +0300
committerMatthias Welwarsky <matthias@welwarsky.de>2019-04-10 10:17:03 +0100
commit55d53fb64c900f1d196870cb39998b40e1e4ce0e (patch)
tree87f9a49ab59b185b9afa3ba84c10d11ff7cd921d /tcl
parent2fc82eae3c1c48485c1fb789dce4c7261fa81af7 (diff)
downloadriscv-openocd-55d53fb64c900f1d196870cb39998b40e1e4ce0e.zip
riscv-openocd-55d53fb64c900f1d196870cb39998b40e1e4ce0e.tar.gz
riscv-openocd-55d53fb64c900f1d196870cb39998b40e1e4ce0e.tar.bz2
target/imx6: Add -ignore-version
Looking through imx6 manuals all of them claim that "In follow-on silicon revisions the ID value is subject to change by incrementing the first nibble". Handle this by passing -ignore-version to jtag newtap command. Change-Id: I7fc4779f9757d527ea20a5174a8c90f919580013 Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Reviewed-on: http://openocd.zylin.com/5031 Tested-by: jenkins Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/imx6.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcl/target/imx6.cfg b/tcl/target/imx6.cfg
index 8a32517..58dc418 100644
--- a/tcl/target/imx6.cfg
+++ b/tcl/target/imx6.cfg
@@ -30,6 +30,7 @@ set _SJC_TAPID3 0x2191e01d
set _SJC_TAPID4 0x1191c01d
jtag newtap $_CHIPNAME sjc -irlen 5 -ircapture 0x01 -irmask 0x1f \
+ -ignore-version \
-expected-id $_SJC_TAPID -expected-id $_SJC_TAPID2 \
-expected-id $_SJC_TAPID3 -expected-id $_SJC_TAPID4