Retire jtag_add_dr_out
The out only version of jtag_add_dr_scan smells like a bogus optimization that complicates the minidriver API for questionable gain. The function was only used by four old ARM targets. Rewrite the callers to use the generic function and remove all implementations. Change-Id: I13b643687ee8ed6bc9b6336e7096c34f40ea96af Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/1801 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
committed by
Spencer Oliver
parent
87e91f4db9
commit
63fa73169b
@@ -24,17 +24,6 @@
|
||||
|
||||
#include <jtag/jtag_minidriver.h>
|
||||
|
||||
static inline void jtag_add_dr_out(struct jtag_tap *tap,
|
||||
int num_fields, const int *num_bits, const uint32_t *value,
|
||||
tap_state_t end_state)
|
||||
{
|
||||
cmd_queue_cur_state = end_state;
|
||||
|
||||
interface_jtag_add_dr_out(tap,
|
||||
num_fields, num_bits, value,
|
||||
end_state);
|
||||
}
|
||||
|
||||
#define jtag_add_callback(callback, in) interface_jtag_add_callback(callback, in)
|
||||
|
||||
#define jtag_add_callback4(callback, in, data1, data2, data3) \
|
||||
|
||||
Reference in New Issue
Block a user