diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-31 13:18:03 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-31 13:18:03 +0000 |
commit | a3a3426e869ca4d3ef51731a655cc536361b0209 (patch) | |
tree | e963914b88dcf22187f5f0322b0f038e3204cf2a /src/pld | |
parent | 77d73b2523431d28daa2d0b1d82f5bf28112e21a (diff) | |
download | riscv-openocd-a3a3426e869ca4d3ef51731a655cc536361b0209.zip riscv-openocd-a3a3426e869ca4d3ef51731a655cc536361b0209.tar.gz riscv-openocd-a3a3426e869ca4d3ef51731a655cc536361b0209.tar.bz2 |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 45c39ae..997f60d 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 */ |