summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-22 12:21:31 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-23 08:37:34 +0100
commit42082f7c23ded282489e8ac6ec52fe94fa097cde (patch)
tree695b04978c9b5cf203d467540c54e6e1ffb337fc /tcl
parent4bbdf966d4afbf279550c7115c64e60d94ca3fe8 (diff)
downloadopenocd+libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.tar.gz
openocd+libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.tar.bz2
openocd+libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.tar.xz
openocd+libswd-42082f7c23ded282489e8ac6ec52fe94fa097cde.zip
FLASH/NOR: rename from spearsmi to stmsmi
STMicroelectronics controller SMI is not SPEAr specific. Rename it and change name to every symbol in the code. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/spear310evb20.cfg2
-rw-r--r--tcl/target/str750.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/tcl/board/spear310evb20.cfg b/tcl/board/spear310evb20.cfg
index 70783f5b..b546eb62 100644
--- a/tcl/board/spear310evb20.cfg
+++ b/tcl/board/spear310evb20.cfg
@@ -27,7 +27,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
diff --git a/tcl/target/str750.cfg b/tcl/target/str750.cfg
index 2fabc126..686aede0 100644
--- a/tcl/target/str750.cfg
+++ b/tcl/target/str750.cfg
@@ -61,7 +61,7 @@ flash bank $_FLASHNAME str7x 0x200C0000 0x00004000 0 0 $_TARGETNAME STR75x
# Serial NOR on SMI CS0.
set _FLASHNAME $_CHIPNAME.snor
-flash bank $_FLASHNAME spearsmi 0x80000000 0 0 0 $_TARGETNAME
+flash bank $_FLASHNAME stmsmi 0x80000000 0 0 0 $_TARGETNAME
source [find mem_helper.tcl]