From 677b02b475870b7d9e5d86e9bf61dc28dae5a6e4 Mon Sep 17 00:00:00 2001 From: Andreas Fritiofson Date: Tue, 18 Feb 2014 22:23:44 +0100 Subject: 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 Reviewed-on: http://openocd.zylin.com/1955 Tested-by: jenkins Reviewed-by: Paul Fertser --- src/jtag/swd.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/jtag/swd.h') 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. -- cgit v1.2.3-18-g5258