X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Farm_dap.c;h=fbcfe0d4df0b3b4fd588805f50b30525f1a6b0e8;hb=eeabbd58c06e8c5fc01ce87cd2b04725fbc0e2bb;hp=dd7ec9b5893f14ee57de953a94345253c16cf6e4;hpb=57962f4d1c2db12dffa03c7357f5d7e0d8f71fb8;p=fw%2Fopenocd diff --git a/src/target/arm_dap.c b/src/target/arm_dap.c index dd7ec9b58..fbcfe0d4d 100644 --- a/src/target/arm_dap.c +++ b/src/target/arm_dap.c @@ -56,7 +56,7 @@ static void dap_instance_init(struct adiv5_dap *dap) /* Number of bits for tar autoincrement, impl. dep. at least 10 */ dap->ap[i].tar_autoincr_block = (1<<10); /* default CSW value */ - dap->ap[i].csw_default = CSW_DEFAULT; + dap->ap[i].csw_default = CSW_AHB_DEFAULT; } INIT_LIST_HEAD(&dap->cmd_journal); } @@ -331,7 +331,7 @@ COMMAND_HANDLER(handle_dap_info_command) return ERROR_COMMAND_SYNTAX_ERROR; } - return dap_info_command(CMD_CTX, &dap->ap[apsel]); + return dap_info_command(CMD, &dap->ap[apsel]); } static const struct command_registration dap_subcommand_handlers[] = {