X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Fspear310evb20.cfg;h=c37bd1d6bf03bfda8d85fc268b43f78f9d32314a;hb=4157732bd84c4e9e4b55357e1dc9a96078a35ee1;hp=70783f5b9903689e3a197ffb1dae95a63dc9de2c;hpb=09c798a1444e9f416afc829b77ff599777d6d5d9;p=fw%2Fopenocd diff --git a/tcl/board/spear310evb20.cfg b/tcl/board/spear310evb20.cfg index 70783f5b9..c37bd1d6b 100644 --- a/tcl/board/spear310evb20.cfg +++ b/tcl/board/spear310evb20.cfg @@ -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 @@ -8,13 +10,12 @@ # 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