]> git.sur5r.net Git - openocd/blobdiff - tcl/chip/atmel/at91/aic.tcl
tcl: remove silly ocd_ prefix to array2mem and mem2array
[openocd] / tcl / chip / atmel / at91 / aic.tcl
index 8c276aa5b9160f53d53cb1a2f6b437236e61c9cc..366be6d07fdf42a3e5498740e4e671d95d80d724 100644 (file)
@@ -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"