X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Farm720t.c;h=4ca80e1941fa5c0d24db35de1488c3e5be2e598d;hb=833e7f5248778bcb31b4db1a1b91160995415203;hp=f9388ab660eb3ff68b60ff257d582422067df4ee;hpb=f7e1f2df74b599903a6fb2d2ace94c3f1ef06097;p=fw%2Fopenocd diff --git a/src/target/arm720t.c b/src/target/arm720t.c index f9388ab66..4ca80e194 100644 --- a/src/target/arm720t.c +++ b/src/target/arm720t.c @@ -499,11 +499,11 @@ static int arm720t_register_commands(struct command_context *cmd_ctx) retval = arm7_9_register_commands(cmd_ctx); - arm720t_cmd = register_command(cmd_ctx, NULL, "arm720t", + arm720t_cmd = COMMAND_REGISTER(cmd_ctx, NULL, "arm720t", NULL, COMMAND_ANY, "arm720t specific commands"); - register_command(cmd_ctx, arm720t_cmd, "cp15", + COMMAND_REGISTER(cmd_ctx, arm720t_cmd, "cp15", arm720t_handle_cp15_command, COMMAND_EXEC, "display/modify cp15 register [value]");