From a72a42230be9a479dd93687d99d39b9029acb50a Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Mon, 22 Oct 2012 12:20:10 -0600 Subject: [PATCH] ARM v4/v5 target files: mrc and mcr help information is incorrect. The order of the mrc/mcr command matches the ARM Architecture Reference Manual. This patch corrects the help information for mrc/mcr. Change-Id: I1f0e6a628a3644124591a6aa291b8a58cfd93b44 Signed-off-by: Karl Kurbjun Reviewed-on: http://openocd.zylin.com/914 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/target/armv4_5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index e31c77e49..7ba2debb9 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -1002,13 +1002,13 @@ static const struct command_registration arm_exec_command_handlers[] = { .mode = COMMAND_EXEC, .jim_handler = &jim_mcrmrc, .help = "write coprocessor register", - .usage = "cpnum op1 CRn op2 CRm value", + .usage = "cpnum op1 CRn CRm op2 value", }, { .name = "mrc", .jim_handler = &jim_mcrmrc, .help = "read coprocessor register", - .usage = "cpnum op1 CRn op2 CRm", + .usage = "cpnum op1 CRn CRm op2", }, { "semihosting",