X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fcortex_a8.c;h=04b3f872b496b1baf8aa074fee189ac0c5a1912b;hb=2861877b32a7a2f4022a1c3d9b66c9b4879878ac;hp=4cd6c0aa42deb6a2db8d786332245509496583e3;hpb=23402315ce01071f30d7ec0c5ca7563ce41f1cc6;p=openocd.git diff --git a/src/target/cortex_a8.c b/src/target/cortex_a8.c index 4cd6c0aa42..04b3f872b4 100644 --- a/src/target/cortex_a8.c +++ b/src/target/cortex_a8.c @@ -1512,17 +1512,17 @@ static int cortex_a8_target_create(struct target *target, Jim_Interp *interp) COMMAND_HANDLER(cortex_a8_handle_cache_info_command) { - struct target *target = get_current_target(cmd_ctx); + struct target *target = get_current_target(CMD_CTX); struct armv7a_common *armv7a = target_to_armv7a(target); - return armv4_5_handle_cache_info_command(cmd_ctx, + return armv4_5_handle_cache_info_command(CMD_CTX, &armv7a->armv4_5_mmu.armv4_5_cache); } COMMAND_HANDLER(cortex_a8_handle_dbginit_command) { - struct target *target = get_current_target(cmd_ctx); + struct target *target = get_current_target(CMD_CTX); cortex_a8_init_debug_access(target);