aarch64: clean up target specific commands

- rename "cortex_a" command group to "aarch64"
- remove default blank check, checksum and algorithm hooks
  since they're not going to work in aarch64 mode anyway.



Change-Id: Ieb0046786ed9425baf6774c68f42a8285cc2aefd
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/3991
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
gitignore-build
Matthias Welwarsky 2017-02-17 13:42:50 +01:00 committed by Paul Fertser
parent d6535e0ce5
commit 257c434d3f
1 changed files with 2 additions and 7 deletions

View File

@ -2057,9 +2057,9 @@ static const struct command_registration aarch64_command_handlers[] = {
.chain = armv8_command_handlers, .chain = armv8_command_handlers,
}, },
{ {
.name = "cortex_a", .name = "aarch64",
.mode = COMMAND_ANY, .mode = COMMAND_ANY,
.help = "Cortex-A command group", .help = "Aarch64 command group",
.usage = "", .usage = "",
.chain = aarch64_exec_command_handlers, .chain = aarch64_exec_command_handlers,
}, },
@ -2085,11 +2085,6 @@ struct target_type aarch64_target = {
.read_memory = aarch64_read_memory, .read_memory = aarch64_read_memory,
.write_memory = aarch64_write_memory, .write_memory = aarch64_write_memory,
.checksum_memory = arm_checksum_memory,
.blank_check_memory = arm_blank_check_memory,
.run_algorithm = armv4_5_run_algorithm,
.add_breakpoint = aarch64_add_breakpoint, .add_breakpoint = aarch64_add_breakpoint,
.add_context_breakpoint = aarch64_add_context_breakpoint, .add_context_breakpoint = aarch64_add_context_breakpoint,
.add_hybrid_breakpoint = aarch64_add_hybrid_breakpoint, .add_hybrid_breakpoint = aarch64_add_hybrid_breakpoint,