riscv-openocd/tcl
Antonio Borneo 6f1252373b tcl/at91/sam9_smc: fix syntax errors
This file has been added to OpenOCD 0.5.0 in 2011, before gerrit
gets in use, with commit ba71e8c521 ("at91: add chip register
definition and generic init support").
The only procedure in the file has never been referenced in any
other part of OpenOCD. This procedure has syntax errors while uses
its argument 'cs' and several unmatched parenthesis, which clearly
highlights that it has never been used so far.
Gerrit does not report any patch aimed at fixing it.

Even if the file seems unused and could be removed, let's fix it
in the hope it could get used.
While there, remove some useless parenthesis and format it using
the new simplified syntax required by jimtcl 0.81.

Change-Id: Ied26456262e7b99de37667a8ce418f4f12e237bd
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Fixes: ba71e8c521 ("at91: add chip register definition and generic init support")
Reviewed-on: http://openocd.zylin.com/6157
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
2021-04-25 23:05:01 +01:00
..
board board: imx53: fix l2 cache initialization 2021-04-25 23:04:52 +01:00
chip tcl/at91/sam9_smc: fix syntax errors 2021-04-25 23:05:01 +01:00
cpld xilinx-xc7: Add additional IDCODEs. 2018-10-27 14:37:43 +01:00
cpu Introduce tcl config files for Synopsys HSDK board 2020-07-26 20:08:31 +01:00
fpga tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
interface tcl/interface/ftdi: Add PLS SPC5 debugger config 2021-03-20 17:42:06 +00:00
target target/imx8qm: Initial support 2021-04-24 05:53:57 +01:00
test coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
tools tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
bitsbytes.tcl coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
mem_helper.tcl mem_helper: add mrh command 2018-12-06 09:38:41 +00:00
memory.tcl Include start-of-region address 2020-02-15 15:30:55 +00:00
mmr_helpers.tcl tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00