summaryrefslogtreecommitdiff
path: root/tcl/target/davinci.cfg
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-08-11 17:24:55 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-08-11 17:24:55 +0200
commit8f779cf66bf459616b7dad88e871c2f4a7315371 (patch)
treeddd83179d52630a0c09d831eb3adc51166465985 /tcl/target/davinci.cfg
parentf1bd1274ee3491c1a98c1484408ce10215391190 (diff)
downloadopenocd_libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.tar.gz
openocd_libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.tar.bz2
openocd_libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.tar.xz
openocd_libswd-8f779cf66bf459616b7dad88e871c2f4a7315371.zip
tcl: remove silly ocd_ prefix to array2mem and mem2array
ocd_ prefix is used internally in OpenOCD as a kludge more or less to deal with the two kinds of commands that OpenOCD has. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'tcl/target/davinci.cfg')
-rw-r--r--tcl/target/davinci.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/davinci.cfg b/tcl/target/davinci.cfg
index 31750dd5..6c6769fa 100644
--- a/tcl/target/davinci.cfg
+++ b/tcl/target/davinci.cfg
@@ -10,7 +10,7 @@ proc davinci_pinmux {soc reg value} {
# mrw: "memory read word", returns value of $reg
proc mrw {reg} {
set value ""
- ocd_mem2array value 32 $reg 1
+ mem2array value 32 $reg 1
return $value(0)
}