summaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-31 13:18:03 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-31 13:18:03 +0000
commita3a3426e869ca4d3ef51731a655cc536361b0209 (patch)
treee963914b88dcf22187f5f0322b0f038e3204cf2a /src/pld
parent77d73b2523431d28daa2d0b1d82f5bf28112e21a (diff)
downloadopenocd_libswd-a3a3426e869ca4d3ef51731a655cc536361b0209.tar.gz
openocd_libswd-a3a3426e869ca4d3ef51731a655cc536361b0209.tar.bz2
openocd_libswd-a3a3426e869ca4d3ef51731a655cc536361b0209.tar.xz
openocd_libswd-a3a3426e869ca4d3ef51731a655cc536361b0209.zip
make jtag_add_statemove() internal to the driver.
git-svn-id: svn://svn.berlios.de/openocd/trunk@527 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/virtex2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index 45c39ae4..997f60d5 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -137,7 +137,7 @@ int virtex2_read_stat(struct pld_device_s *pld_device, u32 *status)
{
u32 data[5];
- jtag_add_statemove(TAP_TLR);
+ jtag_add_tms();
data[0] = 0xaa995566; /* synch word */
data[1] = 0x2800E001; /* Type 1, read, address 7, 1 word */
@@ -192,7 +192,7 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename)
jtag_add_dr_scan(1, &field, TAP_PD);
jtag_execute_queue();
- jtag_add_statemove(TAP_TLR);
+ jtag_add_tms();
jtag_add_end_state(TAP_RTI);
virtex2_set_instr(virtex2_info->chain_pos, 0xc); /* JSTART */