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 | |
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>
-rw-r--r-- | tcl/board/hitex_str9-comstick.cfg | 4 | ||||
-rw-r--r-- | tcl/board/lubbock.cfg | 4 | ||||
-rw-r--r-- | tcl/board/str910-eval.cfg | 4 | ||||
-rw-r--r-- | tcl/target/at91sam3u4c.cfg | 4 | ||||
-rw-r--r-- | tcl/target/at91sam3u4e.cfg | 4 | ||||
-rw-r--r-- | tcl/target/pic32mx.cfg | 4 | ||||
-rw-r--r-- | tcl/target/str710.cfg | 4 | ||||
-rw-r--r-- | tcl/target/str750.cfg | 4 | ||||
-rw-r--r-- | tcl/target/str912.cfg | 4 |
9 files changed, 18 insertions, 18 deletions
diff --git a/tcl/board/hitex_str9-comstick.cfg b/tcl/board/hitex_str9-comstick.cfg index 4d1bb2e..c85681b 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 diff --git a/tcl/board/lubbock.cfg b/tcl/board/lubbock.cfg index 095c60a..b58ad5a 100644 --- a/tcl/board/lubbock.cfg +++ b/tcl/board/lubbock.cfg @@ -12,9 +12,9 @@ jtag_ntrst_delay 250 # CS0, CS1 -- two banks of CFI flash, 32 MBytes each # each bank is 32-bits wide, two 16-bit chips in parallel -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME cfi 0x00000000 0x02000000 2 4 $_TARGETNAME -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME cfi 0x04000000 0x02000000 2 4 $_TARGETNAME # CS2 low -- FPGA registers diff --git a/tcl/board/str910-eval.cfg b/tcl/board/str910-eval.cfg index a2772a8..9e3f881 100644 --- a/tcl/board/str910-eval.cfg +++ b/tcl/board/str910-eval.cfg @@ -58,9 +58,9 @@ $_TARGETNAME configure -event reset-init { } #flash bank str9x <base> <size> 0 0 <target#> <variant> -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 # For more information about the configuration files, take a look at: diff --git a/tcl/target/at91sam3u4c.cfg b/tcl/target/at91sam3u4c.cfg index e281287..5cacbcb 100644 --- a/tcl/target/at91sam3u4c.cfg +++ b/tcl/target/at91sam3u4c.cfg @@ -2,10 +2,10 @@ source [find target/at91sam3uxx.cfg] # size is automatically "calculated" by probing -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME # This is a 256K chip, it has the 2nd bank -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME diff --git a/tcl/target/at91sam3u4e.cfg b/tcl/target/at91sam3u4e.cfg index e549185..6f6e0d8 100644 --- a/tcl/target/at91sam3u4e.cfg +++ b/tcl/target/at91sam3u4e.cfg @@ -2,10 +2,10 @@ source [find target/at91sam3uXX.cfg] # size is automatically "calculated" by probing -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME # This is a 256K chip - it has the 2nd bank -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME diff --git a/tcl/target/pic32mx.cfg b/tcl/target/pic32mx.cfg index 673d254..0b99cdb 100644 --- a/tcl/target/pic32mx.cfg +++ b/tcl/target/pic32mx.cfg @@ -67,9 +67,9 @@ $_TARGETNAME configure -event reset-init { mww 0xbf882030 $_PIC32MX_PROGSIZE } -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME pic32mx 0x1fc00000 0 0 0 $_TARGETNAME -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME pic32mx 0x1d000000 0 0 0 $_TARGETNAME # For more information about the configuration files, take a look at: diff --git a/tcl/target/str710.cfg b/tcl/target/str710.cfg index 4d68586..a5955b6 100644 --- a/tcl/target/str710.cfg +++ b/tcl/target/str710.cfg @@ -47,9 +47,9 @@ $_TARGETNAME configure -event gdb-flash-erase-start { $_TARGETNAME configure -work-area-phys 0x2000C000 -work-area-size 0x4000 -work-area-backup 0 #flash bank str7x <base> <size> 0 0 <target#> <variant> -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME str7x 0x40000000 0x00040000 0 0 $_TARGETNAME STR71x -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME str7x 0x400C0000 0x00004000 0 0 $_TARGETNAME STR71x # For more information about the configuration files, take a look at: 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 diff --git a/tcl/target/str912.cfg b/tcl/target/str912.cfg index 6f2981a..a16c83a 100644 --- a/tcl/target/str912.cfg +++ b/tcl/target/str912.cfg @@ -63,9 +63,9 @@ $_TARGETNAME configure -event reset-init { $_TARGETNAME configure -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup 0 #flash bank str9x <base> <size> 0 0 <target#> <variant> -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash0 flash bank $_FLASHNAME str9x 0x00000000 0x00080000 0 0 $_TARGETNAME -set _FLASHNAME $_CHIPNAME.flash +set _FLASHNAME $_CHIPNAME.flash1 flash bank $_FLASHNAME str9x 0x00080000 0x00008000 0 0 $_TARGETNAME # For more information about the configuration files, take a look at: |