diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-18 18:53:39 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-19 08:31:44 +0100 |
commit | 7f6bab0c4c36d7a64f933904e5add9bc6b36d78c (patch) | |
tree | fbce69a0317da4cbb824f80b37a2a5c348966159 /src/pld | |
parent | 15ff2aeca9b302419aed62fc3cc73dedacdd62cb (diff) | |
download | openocd+libswd-7f6bab0c4c36d7a64f933904e5add9bc6b36d78c.tar.gz openocd+libswd-7f6bab0c4c36d7a64f933904e5add9bc6b36d78c.tar.bz2 openocd+libswd-7f6bab0c4c36d7a64f933904e5add9bc6b36d78c.tar.xz openocd+libswd-7f6bab0c4c36d7a64f933904e5add9bc6b36d78c.zip |
jtag: retire jtag_get/set_end_state()
Voila! This get rids of mysteries about what what
state the TAP is in.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/pld')
-rw-r--r-- | src/pld/virtex2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 93509dec..b2833fae 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -141,7 +141,6 @@ static int virtex2_load(struct pld_device *pld_device, const char *filename) if ((retval = xilinx_read_bit_file(&bit_file, filename)) != ERROR_OK) return retval; - jtag_set_end_state(TAP_IDLE); virtex2_set_instr(virtex2_info->tap, 0xb); /* JPROG_B */ jtag_execute_queue(); jtag_add_sleep(1000); @@ -160,7 +159,6 @@ static int virtex2_load(struct pld_device *pld_device, const char *filename) jtag_add_tlr(); - jtag_set_end_state(TAP_IDLE); virtex2_set_instr(virtex2_info->tap, 0xc); /* JSTART */ jtag_add_runtest(13, TAP_IDLE); virtex2_set_instr(virtex2_info->tap, 0x3f); /* BYPASS */ |