From f499341558dce8a41086f5439ca0458f4ea1fbfd Mon Sep 17 00:00:00 2001 From: oharboe Date: Thu, 4 Jun 2009 12:06:31 +0000 Subject: no longer use jtag_add_xxx() to set end state to TAP_IDLE. Same must be done for TAP_DRPAUSE git-svn-id: svn://svn.berlios.de/openocd/trunk@2044 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/pld/virtex2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pld') diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 36fa89c4..8f4fee29 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -58,7 +58,7 @@ int virtex2_set_instr(jtag_tap_t *tap, u32 new_instr) - jtag_add_ir_scan(1, &field, TAP_IDLE); + jtag_add_ir_scan(1, &field, jtag_add_end_state(TAP_IDLE)); free(field.out_value); } @@ -186,11 +186,11 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename) jtag_add_end_state(TAP_IDLE); virtex2_set_instr(virtex2_info->tap, 0xc); /* JSTART */ - jtag_add_runtest(13, TAP_IDLE); + jtag_add_runtest(13, jtag_add_end_state(TAP_IDLE)); virtex2_set_instr(virtex2_info->tap, 0x3f); /* BYPASS */ virtex2_set_instr(virtex2_info->tap, 0x3f); /* BYPASS */ virtex2_set_instr(virtex2_info->tap, 0xc); /* JSTART */ - jtag_add_runtest(13, TAP_IDLE); + jtag_add_runtest(13, jtag_add_end_state(TAP_IDLE)); virtex2_set_instr(virtex2_info->tap, 0x3f); /* BYPASS */ jtag_execute_queue(); -- cgit v1.2.3