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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user