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 <kkurbjun@gmail.com> Reviewed-on: http://openocd.zylin.com/914 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
parent
68956e028a
commit
a72a42230b
|
@ -1002,13 +1002,13 @@ static const struct command_registration arm_exec_command_handlers[] = {
|
||||||
.mode = COMMAND_EXEC,
|
.mode = COMMAND_EXEC,
|
||||||
.jim_handler = &jim_mcrmrc,
|
.jim_handler = &jim_mcrmrc,
|
||||||
.help = "write coprocessor register",
|
.help = "write coprocessor register",
|
||||||
.usage = "cpnum op1 CRn op2 CRm value",
|
.usage = "cpnum op1 CRn CRm op2 value",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "mrc",
|
.name = "mrc",
|
||||||
.jim_handler = &jim_mcrmrc,
|
.jim_handler = &jim_mcrmrc,
|
||||||
.help = "read coprocessor register",
|
.help = "read coprocessor register",
|
||||||
.usage = "cpnum op1 CRn op2 CRm",
|
.usage = "cpnum op1 CRn CRm op2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"semihosting",
|
"semihosting",
|
||||||
|
|
Loading…
Reference in New Issue