tcl: move SPDX tag as first line
[fw/openocd] / tcl / target / snps_em_sk_fpga.cfg
index d52c7e8dbc86f92ca2778103d651475a2d7f36e4..62f4dec1021ce3805ca7d88a53f7e8b08bb4e3a3 100644 (file)
@@ -1,8 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #  Copyright (C) 2014-2015,2020 Synopsys, Inc.
 #  Anton Kolesov <anton.kolesov@synopsys.com>
 #  Didin Evgeniy <didin@synopsys.com>
-#
-#  SPDX-License-Identifier: GPL-2.0-or-later
 
 #
 # Xilinx Spartan-6 XC6SLX45  FPGA on EM Starter Kit v1.
@@ -20,7 +20,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -expected-id 0x200444b1 \
   -expected-id 0x200044b1
 
 set _coreid 0
-set _dbgbase [expr 0x00000000 | ($_coreid << 13)]
+set _dbgbase [expr {0x00000000 | ($_coreid << 13)}]
 
 target create $_TARGETNAME arcv2 -chain-position $_TARGETNAME \
   -coreid 0 -dbgbase $_dbgbase -endian little
@@ -31,4 +31,3 @@ $_TARGETNAME configure -event reset-assert "arc_em_reset $_TARGETNAME"
 arc_em_init_regs
 
 # vim:ft=tcl
-