summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 16:25:03 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 16:25:03 -0800
commite0b6e5deef2d7b0054058116b6ddf9c684053739 (patch)
tree833bd69e7bee37e86142aeb2c080abf9d56ca78a /src/target
parent199abf49ea02f03aedd1239b6ef3928d35f5dbb7 (diff)
downloadopenocd_libswd-e0b6e5deef2d7b0054058116b6ddf9c684053739.tar.gz
openocd_libswd-e0b6e5deef2d7b0054058116b6ddf9c684053739.tar.bz2
openocd_libswd-e0b6e5deef2d7b0054058116b6ddf9c684053739.tar.xz
openocd_libswd-e0b6e5deef2d7b0054058116b6ddf9c684053739.zip
ARM720: help/usage updates
Deprecate the "pass an instruction opcode" flavor of cp15 access in favor of the "arm mcr ..." and "arm mrc ..." commands, which offer fewer ways to break things. Use the same EBNF syntax in the code as for the user's guide. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/arm720t.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/target/arm720t.c b/src/target/arm720t.c
index 84c66b8d..2f516997 100644
--- a/src/target/arm720t.c
+++ b/src/target/arm720t.c
@@ -516,8 +516,10 @@ static const struct command_registration arm720t_exec_command_handlers[] = {
.name = "cp15",
.handler = arm720t_handle_cp15_command,
.mode = COMMAND_EXEC,
- .usage = "<opcode> [value]",
- .help = "display/modify cp15 register",
+ /* prefer using less error-prone "arm mcr" or "arm mrc" */
+ .help = "display/modify cp15 register using ARM opcode"
+ " (DEPRECATED)",
+ .usage = "instruction [value]",
},
COMMAND_REGISTRATION_DONE
};