diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-05-09 18:54:14 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-05-09 18:54:14 -0700 |
commit | 8aeebdcef7cc8a484876e931e08b49062bc670be (patch) | |
tree | bdfea970683ff34cd53355f424a8713d4eb8a403 | |
parent | 50c11cd7d0bdf1de36584e63922c99c635996e5a (diff) | |
download | riscv-openocd-race.zip riscv-openocd-race.tar.gz riscv-openocd-race.tar.bz2 |
Work around another race conditionrace
-rw-r--r-- | src/target/riscv/riscv-013.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index d74c83c..15c924c 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -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); |