aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-03-03 21:57:33 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2021-03-04 14:59:32 +0000
commit5f3bc3b279c648f5c751fcd4724206c6ce3e38c6 (patch)
treedd809921708d60a444b937cbe648e190b4150c6f
parent23d8831391bbd167e0061388c87e7ecf7b9891a7 (diff)
downloadriscv-openocd-5f3bc3b279c648f5c751fcd4724206c6ce3e38c6.zip
riscv-openocd-5f3bc3b279c648f5c751fcd4724206c6ce3e38c6.tar.gz
riscv-openocd-5f3bc3b279c648f5c751fcd4724206c6ce3e38c6.tar.bz2
tcl/target/eos_s3: fix variable's expansion typo
TCL expands the variables only if preceded by a dollar sign. Add the missing dollar before the variable's name '_CPUTAPID'. Change-Id: Icc5d0dddf24f75d12ee63fee69e1b265e842ca43 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reported-by: Wes Cilldhaire <wes@sol1.com.au> Fixes: c3166b43e415 ("tcl/target: Add QuickLogic EOS S3 MCU configuration") Reviewed-on: http://openocd.zylin.com/6079 Tested-by: jenkins Reviewed-by: TM <tommy_murphy@hotmail.com>
-rw-r--r--tcl/target/eos_s3.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/eos_s3.cfg b/tcl/target/eos_s3.cfg
index f6016fb..150ef4e 100644
--- a/tcl/target/eos_s3.cfg
+++ b/tcl/target/eos_s3.cfg
@@ -26,7 +26,7 @@ if { [info exists CPUTAPID] } {
}
}
-swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id _CPUTAPID
+swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id $_CPUTAPID
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
set _TARGETNAME $_CHIPNAME.cpu