tcl/target: add SPDX tag
[fw/openocd] / tcl / target / at91sam3u2e.cfg
old mode 100755 (executable)
new mode 100644 (file)
index d338f30..b26662b
@@ -1,7 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # common stuff
 source [find target/at91sam3uxx.cfg]
 
 # size is automatically "calculated" by probing
-flash bank at91sam3 0x000080000 0 1 1 $_TARGETNAME
-
-
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME