Commit cb90d32e authored by Øyvind Harboe's avatar Øyvind Harboe Committed by Spencer Oliver
Browse files

jtag: retire jtag_alloc_in_value32



no longer used after arm7/9tdmi.c stopped using it.

Change-Id: I65bfe67641970e63e8276cbd378aa68f5701a8d9
Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/263


Tested-by: jenkins
Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
parent 991ed5a2
...@@ -355,11 +355,6 @@ static void jtag_prelude(tap_state_t state) ...@@ -355,11 +355,6 @@ static void jtag_prelude(tap_state_t state)
cmd_queue_cur_state = 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, void jtag_add_ir_scan_noverify(struct jtag_tap *active, const struct scan_field *in_fields,
tap_state_t state) tap_state_t state)
{ {
......
...@@ -23,11 +23,6 @@ ...@@ -23,11 +23,6 @@
#include <jtag/commands.h> #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) static inline void interface_jtag_add_scan_check_alloc(struct scan_field *field)
{ {
unsigned num_bytes = DIV_ROUND_UP(field->num_bits, 8); unsigned num_bytes = DIV_ROUND_UP(field->num_bits, 8);
......
...@@ -371,17 +371,6 @@ void jtag_add_plain_ir_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_b ...@@ -371,17 +371,6 @@ void jtag_add_plain_ir_scan(int num_bits, const uint8_t *out_bits, uint8_t *in_b
tap_state_t endstate); tap_state_t endstate);
/**
* 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. * Generate a DR SCAN using the fields passed to the function.
* For connected TAPs, the function checks in_fields and uses fields * For connected TAPs, the function checks in_fields and uses fields
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment