summaryrefslogtreecommitdiff
path: root/tcl/chip/atmel
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/chip/atmel
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/chip/atmel')
-rw-r--r--tcl/chip/atmel/at91/aic.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/chip/atmel/at91/aic.tcl b/tcl/chip/atmel/at91/aic.tcl
index 8c276aa5..366be6d0 100644
--- a/tcl/chip/atmel/at91/aic.tcl
+++ b/tcl/chip/atmel/at91/aic.tcl
@@ -54,7 +54,7 @@ proc show_AIC_IMR_helper { NAME ADDR VAL } {
proc show_AIC { } {
global AIC_SMR
- if [catch { ocd_mem2array aaa 32 $AIC_SMR [expr 32 * 4] } msg ] {
+ if [catch { mem2array aaa 32 $AIC_SMR [expr 32 * 4] } msg ] {
error [format "%s (%s)" $msg AIC_SMR]
}
puts "AIC_SMR: Mode & Type"
@@ -71,7 +71,7 @@ proc show_AIC { } {
incr x
}
global AIC_SVR
- if [catch { ocd_mem2array aaa 32 $AIC_SVR [expr 32 * 4] } msg ] {
+ if [catch { mem2array aaa 32 $AIC_SVR [expr 32 * 4] } msg ] {
error [format "%s (%s)" $msg AIC_SVR]
}
puts "AIC_SVR: Vectors"