diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-05-12 23:04:57 +0100 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-05-13 20:44:08 +0100 |
commit | 215a5f7442773693045613cff9e3ce3c7f7e9678 (patch) | |
tree | 1ae64cf040f98c2ecc743548eab1dc264b4a055e /tcl/target/str750.cfg | |
parent | a7fb60dc7b23a78be0ad5876b0e76a0e76875d5c (diff) | |
download | riscv-openocd-215a5f7442773693045613cff9e3ce3c7f7e9678.zip riscv-openocd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.gz riscv-openocd-215a5f7442773693045613cff9e3ce3c7f7e9678.tar.bz2 |
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/target/str750.cfg')
-rw-r--r-- | tcl/target/str750.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/str750.cfg b/tcl/target/str750.cfg index 8a64226..7d9f034 100644 --- a/tcl/target/str750.cfg +++ b/tcl/target/str750.cfg @@ -53,8 +53,8 @@ $_TARGETNAME configure -event gdb-flash-erase-start { $_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 0 #flash bank <driver> <base> <size> <chip_width> <bus_width> -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME str7x 0x20000000 0x00040000 0 0 $_TARGETNAME STR75x -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME str7x 0x200C0000 0x00004000 0 0 $_TARGETNAME STR75x |