summaryrefslogtreecommitdiff
path: root/src/jtag/drivers
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-01 08:22:12 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-01 08:30:29 +0100
commit761d4555b8f8c8eb2b899dee16584656a43b6444 (patch)
tree18ae83fc3467f8778f329f9c6ecc4fdbe77a9a66 /src/jtag/drivers
parent409e23e39b955d92c8e879143d2b979b7de799e9 (diff)
downloadopenocd+libswd-761d4555b8f8c8eb2b899dee16584656a43b6444.tar.gz
openocd+libswd-761d4555b8f8c8eb2b899dee16584656a43b6444.tar.bz2
openocd+libswd-761d4555b8f8c8eb2b899dee16584656a43b6444.tar.xz
openocd+libswd-761d4555b8f8c8eb2b899dee16584656a43b6444.zip
jtag: the post TAP state is now passed to the drivers
after clocking out a tms sequence, then the TAP will be in some state. This state is now handed to the drivers. TAP_INVALID is a possible state after a TMS sequence if switching to SWD. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/drivers')
-rw-r--r--src/jtag/drivers/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/drivers/driver.c b/src/jtag/drivers/driver.c
index 14efe965..ca59239e 100644
--- a/src/jtag/drivers/driver.c
+++ b/src/jtag/drivers/driver.c
@@ -388,7 +388,7 @@ int interface_jtag_add_tlr(void)
return ERROR_OK;
}
-int interface_add_tms_seq(unsigned num_bits, const uint8_t *seq)
+int interface_add_tms_seq(unsigned num_bits, const uint8_t *seq, enum tap_state state)
{
struct jtag_command *cmd;