From e018c7c1d29e8dabb9b4a90bb9eb3574eb1668bb Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 1 Mar 2010 20:00:59 +0100 Subject: jtag: retire tap field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit jtag_add_dr/ir_scan() now takes the tap as the first argument, rather than for each of the fields passed in. The code never exercised the path where there was more than one tap being scanned, who knows if it even worked. This simplifies the implementation and reduces clutter in the calling code. use jtag_add_ir/dr_plain_scan() for more fancy situations. Signed-off-by: Øyvind Harboe --- src/jtag/minidriver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jtag/minidriver.h') diff --git a/src/jtag/minidriver.h b/src/jtag/minidriver.h index 810bb0e5..a4172169 100644 --- a/src/jtag/minidriver.h +++ b/src/jtag/minidriver.h @@ -49,14 +49,14 @@ // and it may provide additional declarations that must be defined. #include -int interface_jtag_add_ir_scan( +int interface_jtag_add_ir_scan(struct jtag_tap* active, int num_fields, const struct scan_field* fields, tap_state_t endstate); int interface_jtag_add_plain_ir_scan( int num_fields, const struct scan_field* fields, tap_state_t endstate); -int interface_jtag_add_dr_scan( +int interface_jtag_add_dr_scan(struct jtag_tap* active, int num_fields, const struct scan_field* fields, tap_state_t endstate); int interface_jtag_add_plain_dr_scan( -- cgit v1.2.3