aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/swd.h
diff options
context:
space:
mode:
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-02-18 22:23:44 +0100
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-06-28 09:26:36 +0000
commit677b02b475870b7d9e5d86e9bf61dc28dae5a6e4 (patch)
treea683313f26d52afab8ac8c4d072d1bdc6ffdce50 /src/jtag/swd.h
parentfd909a5e3dc6d7434bd68bea5c89ffed0f18b586 (diff)
adi_v5: Remove unused features of the DAP and SWD interfaces
These features are not currently used so remove or disable them before something starts to. Not having them around simplifies redesign of the APIs. Change-Id: Iad25cc71c48b68a1fa71558141bf14d5ab20d659 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/1955 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/jtag/swd.h')
-rw-r--r--src/jtag/swd.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/jtag/swd.h b/src/jtag/swd.h
index fee7f912..c628fa84 100644
--- a/src/jtag/swd.h
+++ b/src/jtag/swd.h
@@ -66,7 +66,7 @@ static inline uint8_t swd_cmd(bool is_read, bool is_ap, uint8_t regnum)
/*
* FOR NOW ... SWD driver ops are synchronous and return ACK
- * status ... no quueueing.
+ * status ... no queuing.
*
* Individual ops are request/response, and fast-fail permits much
* better fault handling. Upper layers may queue if desired.
@@ -110,18 +110,6 @@ struct swd_driver {
*/
int (*write_reg)(uint8_t cmd, uint32_t value);
- /**
- * Synchronous block read of an AP or DP register.
- *
- * @param cmd with APnDP/RnW/addr/parity bits
- * @param number of reads from register to be executed
- * @param buffer to store data read from register
- *
- * @return SWD_ACK_* code for the transaction
- * or (negative) fault code
- */
- int (*read_block)(uint8_t cmd, uint32_t blocksize, uint8_t *buffer);
-
/**
* Configures data collection from the Single-wire
* trace (SWO) signal.