summaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 12:06:31 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 12:06:31 +0000
commitf499341558dce8a41086f5439ca0458f4ea1fbfd (patch)
treeff12d32975ed89d00cd4e12fe6cbf30eefe0f803 /src/pld
parentf86f2ab3f8e51129ccadcba4920be0f8bf47637e (diff)
downloadopenocd+libswd-f499341558dce8a41086f5439ca0458f4ea1fbfd.tar.gz
openocd+libswd-f499341558dce8a41086f5439ca0458f4ea1fbfd.tar.bz2
openocd+libswd-f499341558dce8a41086f5439ca0458f4ea1fbfd.tar.xz
openocd+libswd-f499341558dce8a41086f5439ca0458f4ea1fbfd.zip
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
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/virtex2.c6
1 files changed, 3 insertions, 3 deletions
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();