From: oharboe Date: Mon, 11 May 2009 09:36:55 +0000 (+0000) Subject: retire jtag_add_dr_scan_now X-Git-Tag: v0.2.0~766 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fac70d72923b331510d1747267cddbb6975160a0;p=openocd retire jtag_add_dr_scan_now git-svn-id: svn://svn.berlios.de/openocd/trunk@1741 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index dc9933da..e2e324a4 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -781,12 +781,6 @@ void jtag_add_dr_scan_check(int num_fields, scan_field_t *fields, tap_state_t st } -void jtag_add_dr_scan_now(int num_fields, scan_field_t *fields, tap_state_t state) -{ - jtag_add_dr_scan(num_fields, fields, state); - jtag_execute_queue_noclear(); -} - int MINIDRIVER(interface_jtag_add_dr_scan)(int num_fields, scan_field_t *fields, tap_state_t state) { int j; diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index e0e67066..6fa31c6b 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -567,10 +567,6 @@ extern void jtag_add_dr_scan(int num_fields, scan_field_t* fields, tap_state_t e /* This version of jtag_add_dr_scan() uses the check_value/mask fields */ extern void jtag_add_dr_scan_check(int num_fields, scan_field_t* fields, tap_state_t endstate); -/* same as jtag_add_dr_scan but the scan is executed immediately. sets jtag_error if there - * was a failure. - */ -extern void jtag_add_dr_scan_now(int num_fields, scan_field_t* fields, tap_state_t endstate); extern int interface_jtag_add_dr_scan(int num_fields, scan_field_t* fields, tap_state_t endstate); extern void jtag_add_plain_ir_scan(int num_fields, scan_field_t* fields, tap_state_t endstate); extern int interface_jtag_add_plain_ir_scan(int num_fields, scan_field_t* fields, tap_state_t endstate);