diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2020-01-30 18:11:54 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-02-06 21:15:55 +0000 |
commit | 095809648ba2aa018adef7a6ff75e9eaf2bb26bb (patch) | |
tree | 71da1aab5bcb5c5ca4ba54c8fca84f83df47502c /tcl/target/infineon | |
parent | b4dc07388181addb14980f45251ae26c0be6d34e (diff) | |
download | riscv-openocd-095809648ba2aa018adef7a6ff75e9eaf2bb26bb.zip riscv-openocd-095809648ba2aa018adef7a6ff75e9eaf2bb26bb.tar.gz riscv-openocd-095809648ba2aa018adef7a6ff75e9eaf2bb26bb.tar.bz2 |
tcl: fix remaining scripts after rework adapter commands
Some script have been added or modified after the patches for
reworking the adapter commands were pushed in gerrit.
Such scripts use the old command syntax and trigger a "deprecated"
warning at runtime.
Fix them with the same sed commands used for the other scripts:
sed -i 's/^interface /adapter driver /' $(find tcl/ -type f)
sed -i 's/adapter_khz/adapter speed/g' $(find tcl/ -type f)
sed -i 's/adapter_nsrst_delay/adapter srst delay/g' $(find tcl/ -type f)
sed -i 's/adapter_nsrst_assert_width/adapter srst pulse_width/g' $(find tcl/ -type f)
Change-Id: I0824d6c506a9af3eb9129b74c02a92b4eb1b100d
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5424
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Tested-by: jenkins
Diffstat (limited to 'tcl/target/infineon')
-rw-r--r-- | tcl/target/infineon/tle987x.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/infineon/tle987x.cfg b/tcl/target/infineon/tle987x.cfg index 00cb1c0..84cc238 100644 --- a/tcl/target/infineon/tle987x.cfg +++ b/tcl/target/infineon/tle987x.cfg @@ -33,4 +33,4 @@ if { ![using_hla] } { cortex_m reset_config sysresetreq } -adapter_khz 1000 +adapter speed 1000 |