aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-12-13 23:28:10 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2011-12-20 16:56:52 +0000
commitcb90d32e386a7489d31136997209c61e9559ff5e (patch)
tree2fdf062735de235ce51abdff9dbcc880a161f86f
parent991ed5a2b657e660f744eefddb084724e52938ea (diff)
downloadriscv-openocd-cb90d32e386a7489d31136997209c61e9559ff5e.zip
riscv-openocd-cb90d32e386a7489d31136997209c61e9559ff5e.tar.gz
riscv-openocd-cb90d32e386a7489d31136997209c61e9559ff5e.tar.bz2
jtag: retire jtag_alloc_in_value32
no longer used after arm7/9tdmi.c stopped using it. Change-Id: I65bfe67641970e63e8276cbd378aa68f5701a8d9 Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com> Reviewed-on: http://openocd.zylin.com/263 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
-rw-r--r--src/jtag/core.c5
-rw-r--r--src/jtag/drivers/minidriver_imp.h5
-rw-r--r--src/jtag/jtag.h11
3 files changed, 0 insertions, 21 deletions
diff --git a/src/jtag/core.c b/src/jtag/core.c
index ad63753..3090ddd 100644
--- a/src/jtag/core.c
+++ b/src/jtag/core.c
@@ -355,11 +355,6 @@ static void jtag_prelude(tap_state_t state)
cmd_queue_cur_state = state;
}
-void jtag_alloc_in_value32(struct scan_field *field)
-{
- interface_jtag_alloc_in_value32(field);
-}
-
void jtag_add_ir_scan_noverify(struct jtag_tap *active, const struct scan_field *in_fields,
tap_state_t state)
{
diff --git a/src/jtag/drivers/minidriver_imp.h b/src/jtag/drivers/minidriver_imp.h
index 76cf9dd..6683300 100644
--- a/src/jtag/drivers/minidriver_imp.h
+++ b/src/jtag/drivers/minidriver_imp.h
@@ -23,11 +23,6 @@
#include <jtag/commands.h>
-static inline void interface_jtag_alloc_in_value32(struct scan_field *field)
-{
- field->in_value = (uint8_t *)cmd_queue_alloc(4);
-}
-
static inline void interface_jtag_add_scan_check_alloc(struct scan_field *field)
{
unsigned num_bytes = DIV_ROUND_UP(field->num_bits, 8);
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index a3ce371..1476150 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -372,17 +372,6 @@ void jtag_add_plain_ir_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_b
/**
- * Set in_value to point to 32 bits of memory to scan into. This
- * function is a way to handle the case of synchronous and asynchronous
- * JTAG queues.
- *
- * In the event of an asynchronous queue execution the queue buffer
- * allocation method is used, for the synchronous case the temporary 32
- * bits come from the input field itself.
- */
-void jtag_alloc_in_value32(struct scan_field *field);
-
-/**
* Generate a DR SCAN using the fields passed to the function.
* For connected TAPs, the function checks in_fields and uses fields
* specified there. For bypassed TAPs, the function generates a dummy