riscv-openocd/tcl/chip/atmel/at91
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
..
aic.tcl coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
at91_pio.cfg at91: add chip register definition and generic init support 2011-04-09 19:18:03 +02:00
at91_pmc.cfg at91: add chip register definition and generic init support 2011-04-09 19:18:03 +02:00
at91_rstc.cfg at91: add chip register definition and generic init support 2011-04-09 19:18:03 +02:00
at91_wdt.cfg at91: add chip register definition and generic init support 2011-04-09 19:18:03 +02:00
at91sam7x128.tcl Crusty Code fixes from the tcl directory re-arragements 2009-09-02 00:17:39 +00:00
at91sam7x256.tcl Crusty Code fixes from the tcl directory re-arragements 2009-09-02 00:17:39 +00:00
at91sam9_init.cfg Fix a typo. 2013-07-07 13:00:59 +00:00
at91sam9_sdramc.cfg at91: add chip register definition and generic init support 2011-04-09 19:18:03 +02:00
at91sam9_smc.cfg at91: add chip register definition and generic init support 2011-04-09 19:18:03 +02:00
at91sam9261.cfg at91: add at91sam9261 chip register definition 2011-04-09 10:13:59 +02:00
at91sam9261_matrix.cfg at91: add at91sam9261 chip register definition 2011-04-09 10:13:59 +02:00
at91sam9263.cfg at91: add at91sam9263 chip register definition 2011-04-09 19:19:36 +02:00
at91sam9263_matrix.cfg coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
hardware.cfg at91: add chip register definition and generic init support 2011-04-09 19:18:03 +02:00
pmc.tcl coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
rtt.tcl coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
sam9_smc.cfg tcl/at91/sam9_smc: fix syntax errors 2021-04-25 23:05:01 +01:00
usarts.tcl coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00