From: Alex Murray Date: Tue, 19 Nov 2013 22:47:04 +0000 (+1030) Subject: target/imx6: Fix typo in setting _SJC_TAPID from SJC_TAPID variable X-Git-Tag: v0.8.0-rc1~150 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=6018406c78d19d19f875973f598929546aaa3608;hp=9b2cc2f72f0774e9558006a267de524dfe79ec88 target/imx6: Fix typo in setting _SJC_TAPID from SJC_TAPID variable The set command was missing the $ prefix on the SJC_TAPID variable and so would fail if SJC_TAPID was set Change-Id: Ib9af58f5188bd8a2bc3f888309f203d624476c27 Signed-off-by: Alex Murray Reviewed-on: http://openocd.zylin.com/1811 Tested-by: jenkins Reviewed-by: Jens Bauer Reviewed-by: Vladimir Zapolskiy Reviewed-by: Spencer Oliver --- diff --git a/tcl/target/imx6.cfg b/tcl/target/imx6.cfg index 622261fe6c..afdf9614a5 100644 --- a/tcl/target/imx6.cfg +++ b/tcl/target/imx6.cfg @@ -21,7 +21,7 @@ jtag newtap $_CHIPNAME sdma -irlen 4 -ircapture 0x00 -irmask 0x0f # System JTAG Controller if { [info exists SJC_TAPID] } { - set _SJC_TAPID SJC_TAPID + set _SJC_TAPID $SJC_TAPID } else { set _SJC_TAPID 0x0191c01d }