summaryrefslogtreecommitdiff
path: root/tcl/board/hitex_str9-comstick.cfg
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-05-12 23:04:57 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-05-13 20:44:08 +0100
commit215a5f7442773693045613cff9e3ce3c7f7e9678 (patch)
tree1ae64cf040f98c2ecc743548eab1dc264b4a055e /tcl/board/hitex_str9-comstick.cfg
parenta7fb60dc7b23a78be0ad5876b0e76a0e76875d5c (diff)
downloadopenocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.gz
openocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.bz2
openocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.xz
openocd+libswd-215a5f7442773693045613cff9e3ce3c7f7e9678.zip
scripts: update flash bank names
As the flash bank name is now unique update the scripts to suit. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/board/hitex_str9-comstick.cfg')
-rw-r--r--tcl/board/hitex_str9-comstick.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/board/hitex_str9-comstick.cfg b/tcl/board/hitex_str9-comstick.cfg
index 4d1bb2e4..c85681b1 100644
--- a/tcl/board/hitex_str9-comstick.cfg
+++ b/tcl/board/hitex_str9-comstick.cfg
@@ -73,7 +73,7 @@ $_TARGETNAME configure -event reset-init {
$_TARGETNAME configure -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup 0
#flash bank <driver> <base> <size> <chip_width> <bus_width>
-set _FLASHNAME $_CHIPNAME.flash
+set _FLASHNAME $_CHIPNAME.flash0
flash bank $_FLASHNAME str9x 0x00000000 0x00080000 0 0 0
-set _FLASHNAME $_CHIPNAME.flash
+set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME str9x 0x00080000 0x00008000 0 0 0