diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2015-11-14 00:40:54 +0100 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2015-12-29 20:27:13 +0000 |
commit | 59003ee2a1681e1fd8af382b09bf4277e073e999 (patch) | |
tree | 7962acae94ff9e88849dec443e6b3256272bac63 | |
parent | dc574aa1da291405c6778383c1ad3b252602aee7 (diff) |
arm_adi_v5: Remove unused is_swd flag
Not clear what it was supposed to be used for. It probably shouldn't.
Change-Id: Ife1d833e59ba80f93876447d752a0ca7e7b57b0f
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3143
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
-rw-r--r-- | src/target/adi_v5_swd.c | 2 | ||||
-rw-r--r-- | src/target/arm_adi_v5.h | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/target/adi_v5_swd.c b/src/target/adi_v5_swd.c index 82c2b5ab..f8321422 100644 --- a/src/target/adi_v5_swd.c +++ b/src/target/adi_v5_swd.c @@ -259,8 +259,6 @@ static int swd_run(struct adiv5_dap *dap) } const struct dap_ops swd_dap_ops = { - .is_swd = true, - .queue_dp_read = swd_queue_dp_read, .queue_dp_write = swd_queue_dp_write, .queue_ap_read = swd_queue_ap_read, diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h index 7f98d509..186397e8 100644 --- a/src/target/arm_adi_v5.h +++ b/src/target/arm_adi_v5.h @@ -244,11 +244,6 @@ struct adiv5_dap { * available until run(). */ struct dap_ops { - /** If the DAP transport isn't SWD, it must be JTAG. Upper level - * code may need to care about the difference in some cases. - */ - bool is_swd; - /** DP register read. */ int (*queue_dp_read)(struct adiv5_dap *dap, unsigned reg, uint32_t *data); |