Work around another race condition

This commit is contained in:
Palmer Dabbelt 2017-05-09 18:54:14 -07:00
parent 50c11cd7d0
commit 8aeebdcef7
1 changed files with 1 additions and 0 deletions

View File

@ -341,6 +341,7 @@ static dmi_status_t dmi_scan(struct target *target, uint16_t *address_in,
int idle_count = info->dmi_busy_delay;
if (exec)
idle_count += info->ac_busy_delay;
idle_count += 10;
if (idle_count) {
jtag_add_runtest(idle_count, TAP_IDLE);