X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Ftarget%2Fcortex_a.c;h=7788ada6fef2c5efd88190b62ba5c24f10202639;hb=2aada5b8d9869ebc69984223710253ba905d61cd;hp=7721b9bf96df0e4f878a0ec87f8d5dbece66742b;hpb=13288a44bee0aa26067cb51c262b82a12b61699f;p=openocd.git diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index 7721b9bf96..7788ada6fe 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -2340,12 +2340,6 @@ static int cortex_a8_write_memory(struct target *target, uint32_t address, return retval; } -static int cortex_a8_bulk_write_memory(struct target *target, uint32_t address, - uint32_t count, const uint8_t *buffer) -{ - return cortex_a8_write_memory(target, address, 4, count, buffer); -} - static int cortex_a8_handle_target_request(void *priv) { struct target *target = priv; @@ -2752,9 +2746,9 @@ static const struct command_registration cortex_a8_command_handlers[] = { .chain = armv7a_command_handlers, }, { - .name = "cortex_a8", + .name = "cortex_a", .mode = COMMAND_ANY, - .help = "Cortex-A8 command group", + .help = "Cortex-A command group", .usage = "", .chain = cortex_a8_exec_command_handlers, }, @@ -2762,7 +2756,8 @@ static const struct command_registration cortex_a8_command_handlers[] = { }; struct target_type cortexa8_target = { - .name = "cortex_a8", + .name = "cortex_a", + .deprecated_name = "cortex_a8", .poll = cortex_a8_poll, .arch_state = armv7a_arch_state, @@ -2782,7 +2777,6 @@ struct target_type cortexa8_target = { .read_memory = cortex_a8_read_memory, .write_memory = cortex_a8_write_memory, - .bulk_write_memory = cortex_a8_bulk_write_memory, .checksum_memory = arm_checksum_memory, .blank_check_memory = arm_blank_check_memory, @@ -2863,7 +2857,6 @@ struct target_type cortexr4_target = { .read_memory = cortex_a8_read_memory, .write_memory = cortex_a8_write_memory, - .bulk_write_memory = cortex_a8_bulk_write_memory, .checksum_memory = arm_checksum_memory, .blank_check_memory = arm_blank_check_memory,