tcl/board: add SPDX tag
[fw/openocd] / tcl / board / spear310evb20.cfg
index 70783f5b9903689e3a197ffb1dae95a63dc9de2c..c37bd1d6bf03bfda8d85fc268b43f78f9d32314a 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Configuration for the ST SPEAr310 Evaluation board
 # EVALSPEAr310 Rev. 2.0
 # http://www.st.com/spear
 # The standard board has JTAG SRST not connected.
 # This script targets such boards using quirky code to bypass the issue.
 #
-# Check ST Application Note (FIXME: put reference) on how to fix SRST on
+# Check ST Application Note AN3321 on how to fix SRST on
 # the board, then use the script board/spear310evb20_mod.cfg
 
 
 source [find mem_helper.tcl]
 source [find target/spear3xx.cfg]
-source [find chip/st/spear/spear310.tcl]
 source [find chip/st/spear/spear3xx_ddr.tcl]
 source [find chip/st/spear/spear3xx.tcl]
 
@@ -27,7 +28,7 @@ flash bank $_FLASHNAME0 cfi 0x50000000 0x01000000 2 4 $_TARGETNAME
 
 # Serial NOR on SMI CS0. 8Mbyte.
 set _FLASHNAME1 $_CHIPNAME.snor
-flash bank $_FLASHNAME1 spearsmi 0xf8000000 0 0 0 $_TARGETNAME
+flash bank $_FLASHNAME1 stmsmi 0xf8000000 0 0 0 $_TARGETNAME
 
 if { [info exists BOARD_HAS_SRST] } {
        # Modified board has SRST on JTAG connector
@@ -42,7 +43,7 @@ if { [info exists BOARD_HAS_SRST] } {
 $_TARGETNAME configure -event reset-init { spear310evb20_init }
 
 proc spear310evb20_init {} {
-       reg pc 0xffff0020       # loop forever
+       reg pc 0xffff0020       ;# loop forever
 
        sp3xx_clock_default
        sp3xx_common_init