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>
This commit is contained in:
Øyvind Harboe
2010-03-01 08:22:12 +01:00
parent 409e23e39b
commit 761d4555b8
4 changed files with 5 additions and 4 deletions

View File

@@ -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;