Merge pull request #1091 from en-sc/en-sc/no-extra-ir
target/riscv: avoid unnecessary IR scans
This commit is contained in:
commit
c455b60ff7
|
@ -435,6 +435,9 @@ static void select_dmi(struct target *target)
|
|||
select_dmi_via_bscan(target);
|
||||
return;
|
||||
}
|
||||
if (buf_cmp(target->tap->cur_instr, select_dbus.out_value,
|
||||
target->tap->ir_length) == 0)
|
||||
return;
|
||||
jtag_add_ir_scan(target->tap, &select_dbus, TAP_IDLE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue