aboutsummaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 12:12:38 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 12:12:38 +0000
commit040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd (patch)
tree509edb0af8900ec032dd173a4593bccd4f552bbc /src/pld
parentf499341558dce8a41086f5439ca0458f4ea1fbfd (diff)
downloadriscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.zip
riscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.tar.gz
riscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.tar.bz2
no longer use jtag_add_xxx() to set end state to TAP_DRPAUSE
git-svn-id: svn://svn.berlios.de/openocd/trunk@2045 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 8f4fee2..51991c3 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -85,7 +85,7 @@ int virtex2_send_32(struct pld_device_s *pld_device, int num_words, u32 *words)
virtex2_set_instr(virtex2_info->tap, 0x5); /* CFG_IN */
- jtag_add_dr_scan(1, &scan_field, TAP_DRPAUSE);
+ jtag_add_dr_scan(1, &scan_field, jtag_add_end_state(TAP_DRPAUSE));
free(values);
@@ -113,7 +113,7 @@ int virtex2_receive_32(struct pld_device_s *pld_device, int num_words, u32 *word
{
scan_field.in_value = (u8 *)words;
- jtag_add_dr_scan(1, &scan_field, TAP_DRPAUSE);
+ jtag_add_dr_scan(1, &scan_field, jtag_add_end_state(TAP_DRPAUSE));
jtag_add_callback(virtexflip32, (u8 *)words);
@@ -179,7 +179,7 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename)
field.num_bits = bit_file.length * 8;
field.out_value = bit_file.data;
- jtag_add_dr_scan(1, &field, TAP_DRPAUSE);
+ jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_DRPAUSE));
jtag_execute_queue();
jtag_add_tlr();