aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-10-26 17:54:55 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2020-10-30 22:03:10 +0000
commit962697823e6065094aa7b925fa09e08456afde28 (patch)
tree9a833e47e9a8caf1229d28b46ec176cee7b924c1 /tcl/board
parent3da7c1fc83171c5b7ad9b2e8be774f6081e977fd (diff)
downloadriscv-openocd-962697823e6065094aa7b925fa09e08456afde28.zip
riscv-openocd-962697823e6065094aa7b925fa09e08456afde28.tar.gz
riscv-openocd-962697823e6065094aa7b925fa09e08456afde28.tar.bz2
tcl/board: drop 'tcl' prefix in 'find' command
When OpenOCD is installed to the host the 'tcl' folder gets usually installed in /usr/share/openocd/, thus having 'tcl' as prefix of the target's file causes 'find' to fail. Remove the 'tcl' folder prefix. Change-Id: I3dc484c8de6af8f5aae4dd1b230522ee47ae2ba6 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5887 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/tocoding_poplar.cfg2
-rw-r--r--tcl/board/tx25_stk5.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/tcl/board/tocoding_poplar.cfg b/tcl/board/tocoding_poplar.cfg
index d0951ce..6d2e635 100644
--- a/tcl/board/tocoding_poplar.cfg
+++ b/tcl/board/tocoding_poplar.cfg
@@ -10,7 +10,7 @@ adapter speed 10000
# SRST-only reset configuration
reset_config srst_only srst_push_pull
-source [find tcl/target/hi3798.cfg]
+source [find target/hi3798.cfg]
# make sure the default target is the boot core
targets ${_TARGETNAME}0
diff --git a/tcl/board/tx25_stk5.cfg b/tcl/board/tx25_stk5.cfg
index 846bf58..9d77afd 100644
--- a/tcl/board/tx25_stk5.cfg
+++ b/tcl/board/tx25_stk5.cfg
@@ -4,7 +4,7 @@
# -------------------------------------------------------------------------
-source [find tcl/target/imx25.cfg]
+source [find target/imx25.cfg]
#-------------------------------------------------------------------------
# Declare Nand