diff options
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 |
commit | 8f779cf66bf459616b7dad88e871c2f4a7315371 (patch) | |
tree | ddd83179d52630a0c09d831eb3adc51166465985 /tcl/board | |
parent | f1bd1274ee3491c1a98c1484408ce10215391190 (diff) | |
download | openocd+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/board')
-rw-r--r-- | tcl/board/at91cap7a-stk-sdram.cfg | 2 | ||||
-rw-r--r-- | tcl/board/at91sam9g20-ek.cfg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tcl/board/at91cap7a-stk-sdram.cfg b/tcl/board/at91cap7a-stk-sdram.cfg index 6a7e22b2..cca12119 100644 --- a/tcl/board/at91cap7a-stk-sdram.cfg +++ b/tcl/board/at91cap7a-stk-sdram.cfg @@ -32,7 +32,7 @@ $_TARGETNAME configure -event reset-start { } proc peek32 {address} { - ocd_mem2array t 32 $address 1 + mem2array t 32 $address 1 return $t(0) } diff --git a/tcl/board/at91sam9g20-ek.cfg b/tcl/board/at91sam9g20-ek.cfg index b50e8c86..15a9caf2 100644 --- a/tcl/board/at91sam9g20-ek.cfg +++ b/tcl/board/at91sam9g20-ek.cfg @@ -67,7 +67,7 @@ at91sam9 ce 0 0xfffff800 14 proc read_register {register} { set result "" - ocd_mem2array result 32 $register 1 + mem2array result 32 $register 1 return $result(0) } |