From 761d4555b8f8c8eb2b899dee16584656a43b6444 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 1 Mar 2010 08:22:12 +0100 Subject: jtag: the post TAP state is now passed to the drivers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/jtag/minidriver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jtag/minidriver.h') diff --git a/src/jtag/minidriver.h b/src/jtag/minidriver.h index 5caec58b..810bb0e5 100644 --- a/src/jtag/minidriver.h +++ b/src/jtag/minidriver.h @@ -67,7 +67,8 @@ int interface_jtag_add_tlr(void); int interface_jtag_add_pathmove(int num_states, const tap_state_t* path); int interface_jtag_add_runtest(int num_cycles, tap_state_t endstate); -int interface_add_tms_seq(unsigned num_bits, const uint8_t *bits); +int interface_add_tms_seq(unsigned num_bits, + const uint8_t *bits, enum tap_state state); /** * This drives the actual srst and trst pins. srst will always be 0 -- cgit v1.2.3