From: Leonard Crestez Date: Fri, 10 Aug 2018 13:06:43 +0000 (+0300) Subject: target/imx6: Add -ignore-version X-Git-Tag: v0.11.0-rc1~740 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=55d53fb64c900f1d196870cb39998b40e1e4ce0e 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 Reviewed-on: http://openocd.zylin.com/5031 Tested-by: jenkins Reviewed-by: Matthias Welwarsky --- diff --git a/tcl/target/imx6.cfg b/tcl/target/imx6.cfg index 8a32517f31..58dc418e6e 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