aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/faux.cfg
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-18 02:15:52 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-19 13:39:41 -0800
commit2dfa5e9c844a5a3f8aaca146c874f13570b8f667 (patch)
tree30178e8d65d17c173619a3a8b9921b8d4f911210 /tcl/target/faux.cfg
parentfd654c8a3e3dbd5ab97eb6b3834ee462dd509a66 (diff)
downloadriscv-openocd-2dfa5e9c844a5a3f8aaca146c874f13570b8f667.zip
riscv-openocd-2dfa5e9c844a5a3f8aaca146c874f13570b8f667.tar.gz
riscv-openocd-2dfa5e9c844a5a3f8aaca146c874f13570b8f667.tar.bz2
update 'flash bank' usage in scripts
Sets $_FLASHNAME to "$_CHIPNAME.flash" and passes it as the first argument to 'flash bank'.
Diffstat (limited to 'tcl/target/faux.cfg')
-rw-r--r--tcl/target/faux.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/faux.cfg b/tcl/target/faux.cfg
index cc09ee3..6fe0cd7 100644
--- a/tcl/target/faux.cfg
+++ b/tcl/target/faux.cfg
@@ -26,4 +26,5 @@ set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4
#dummy flash driver
-flash bank faux 0x01000000 0x200000 2 2 0
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME faux 0x01000000 0x200000 2 2 0