aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/imx.cfg
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-01 01:09:10 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-01 01:10:19 -0800
commita65e75ea34153a8d0a0fe0b07497ad75c5726ab6 (patch)
treea9a73901dc9f6bf6e05171c616729c6b992e26cb /tcl/target/imx.cfg
parent48edd58c3941c562a5a7ea78432a28e72108bbe4 (diff)
downloadriscv-openocd-a65e75ea34153a8d0a0fe0b07497ad75c5726ab6.zip
riscv-openocd-a65e75ea34153a8d0a0fe0b07497ad75c5726ab6.tar.gz
riscv-openocd-a65e75ea34153a8d0a0fe0b07497ad75c5726ab6.tar.bz2
Tcl and doc: update to match new 'arm mcr ...' etc
Make them match the C code. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl/target/imx.cfg')
-rw-r--r--tcl/target/imx.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/imx.cfg b/tcl/target/imx.cfg
index bfcc652..547ec56 100644
--- a/tcl/target/imx.cfg
+++ b/tcl/target/imx.cfg
@@ -10,7 +10,7 @@ proc setc15 {regs value} {
echo [format "set p15 0x%04x, 0x%08x" $regs $value]
- mcr 15 [expr ($regs>>12)&0x7] [expr ($regs>>0)&0xf] [expr ($regs>>4)&0xf] [expr ($regs>>8)&0x7] $value
+ arm mcr 15 [expr ($regs>>12)&0x7] [expr ($regs>>0)&0xf] [expr ($regs>>4)&0xf] [expr ($regs>>8)&0x7] $value
}