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/target/etm.c | |
parent | 15ff2aeca9b302419aed62fc3cc73dedacdd62cb (diff) | |
download | riscv-openocd-7f6bab0c4c36d7a64f933904e5add9bc6b36d78c.zip riscv-openocd-7f6bab0c4c36d7a64f933904e5add9bc6b36d78c.tar.gz riscv-openocd-7f6bab0c4c36d7a64f933904e5add9bc6b36d78c.tar.bz2 |
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/target/etm.c')
-rw-r--r-- | src/target/etm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/target/etm.c b/src/target/etm.c index 3c25f4e..3850ced 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -504,7 +504,6 @@ static int etm_read_reg_w_check(struct reg *reg, LOG_DEBUG("%s (%u)", r->name, reg_addr); - jtag_set_end_state(TAP_IDLE); arm_jtag_scann(etm_reg->jtag_info, 0x6, TAP_IDLE); arm_jtag_set_instr(etm_reg->jtag_info, etm_reg->jtag_info->intest_instr, NULL, TAP_IDLE); @@ -587,7 +586,6 @@ static int etm_write_reg(struct reg *reg, uint32_t value) LOG_DEBUG("%s (%u): 0x%8.8" PRIx32 "", r->name, reg_addr, value); - jtag_set_end_state(TAP_IDLE); arm_jtag_scann(etm_reg->jtag_info, 0x6, TAP_IDLE); arm_jtag_set_instr(etm_reg->jtag_info, etm_reg->jtag_info->intest_instr, NULL, TAP_IDLE); |