Rename jtag_add_end_state to jtag_set_end_state since "add" implies that
this fn has something to do with the queue, which it does not as such. git-svn-id: svn://svn.berlios.de/openocd/trunk@2050 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
+3
-3
@@ -169,7 +169,7 @@ static int etb_read_ram(etb_t *etb, u32 *data, int num_frames)
|
||||
scan_field_t fields[3];
|
||||
int i;
|
||||
|
||||
jtag_add_end_state(TAP_IDLE);
|
||||
jtag_set_end_state(TAP_IDLE);
|
||||
etb_scann(etb, 0x0);
|
||||
etb_set_instr(etb, 0xc);
|
||||
|
||||
@@ -225,7 +225,7 @@ int etb_read_reg_w_check(reg_t *reg, u8* check_value, u8* check_mask)
|
||||
|
||||
LOG_DEBUG("%i", etb_reg->addr);
|
||||
|
||||
jtag_add_end_state(TAP_IDLE);
|
||||
jtag_set_end_state(TAP_IDLE);
|
||||
etb_scann(etb_reg->etb, 0x0);
|
||||
etb_set_instr(etb_reg->etb, 0xc);
|
||||
|
||||
@@ -314,7 +314,7 @@ int etb_write_reg(reg_t *reg, u32 value)
|
||||
|
||||
LOG_DEBUG("%i: 0x%8.8x", etb_reg->addr, value);
|
||||
|
||||
jtag_add_end_state(TAP_IDLE);
|
||||
jtag_set_end_state(TAP_IDLE);
|
||||
etb_scann(etb_reg->etb, 0x0);
|
||||
etb_set_instr(etb_reg->etb, 0xc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user