2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 13:02:18 +10:00
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
cpu
fpga
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
tools
bitsbytes.tcl
mem_helper.tcl
memory.tcl
mmr_helpers.tcl