]> git.sur5r.net Git - openocd/blobdiff - src/pld/virtex2.c
target read/write is no longer attempted for target_xxx() functions when the target...
[openocd] / src / pld / virtex2.c
index 997f60d5f04301807e1ecd9a0eecdf08a750d021..e0ec27deda6d6b2530cd816d9c5033e14f868079 100644 (file)
@@ -137,7 +137,7 @@ int virtex2_read_stat(struct pld_device_s *pld_device, u32 *status)
 {
        u32 data[5];
        
-       jtag_add_tms();
+       jtag_add_tlr();
        
        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_tms();
+       jtag_add_tlr();
        
        jtag_add_end_state(TAP_RTI);
        virtex2_set_instr(virtex2_info->chain_pos, 0xc); /* JSTART */