summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-18 18:31:58 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-19 08:31:44 +0100
commit8ce828dd382c907db4c6bd38e5b54996e50327fd (patch)
treeb62183e48601042a10d0d84c31d6587e9fa7da88 /src/jtag
parent8d411d0d249dda7ceb951c4f8c8a509f4fd1dfb0 (diff)
downloadopenocd+libswd-8ce828dd382c907db4c6bd38e5b54996e50327fd.tar.gz
openocd+libswd-8ce828dd382c907db4c6bd38e5b54996e50327fd.tar.bz2
openocd+libswd-8ce828dd382c907db4c6bd38e5b54996e50327fd.tar.xz
openocd+libswd-8ce828dd382c907db4c6bd38e5b54996e50327fd.zip
jtag: remove jtag_get_end_state()'s that should be unecessary
By a bit of code inspection it seems like all of these instances of jtag_get_end_state() can be unambigously replaced by constants. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/zy1000/zy1000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c
index 177d286d..9b8b4804 100644
--- a/src/jtag/zy1000/zy1000.c
+++ b/src/jtag/zy1000/zy1000.c
@@ -849,7 +849,7 @@ void embeddedice_write_dcc(struct jtag_tap *tap, int reg_addr, uint8_t *buffer,
}
} else
{
- tap_state_t end_state = jtag_get_end_state();
+ tap_state_t end_state = TAP_IDLE;
tap_state_t shift_end_state;
if (post_bits == 0)
shift_end_state = end_state;