aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2021-05-03 12:21:17 -0700
committerTim Newsome <tim@sifive.com>2021-05-03 14:56:34 -0700
commit38eea2367cae855ba0a4be1fb188d61cbff23d91 (patch)
tree5c77c5302f690918294351e486467a606fc81afa
parentf950c4fbf2d6c14e86a33d6b5ea1acf890fc1d59 (diff)
downloadriscv-openocd-38eea2367cae855ba0a4be1fb188d61cbff23d91.zip
riscv-openocd-38eea2367cae855ba0a4be1fb188d61cbff23d91.tar.gz
riscv-openocd-38eea2367cae855ba0a4be1fb188d61cbff23d91.tar.bz2
Add keep_alive() to system bus read loop.
Without it the repeat read test wasn't passing any longer. This is because 7dd323b26d93e49e409e02053e30f53ac8138cd5 reduced the remote bitbang performance. I've notified the mailing list about this. Change-Id: Ie71592792202423aec89fa889b9e3d2a60a3c25f Signed-off-by: Tim Newsome <tim@sifive.com>
-rw-r--r--src/target/riscv/riscv-013.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index 0c1c049..80fe5e5 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -2745,6 +2745,7 @@ static int read_memory_bus_v1(struct target *target, target_addr_t address,
}
next_read = address + i * size + j * 4;
}
+ keep_alive();
}
uint32_t sbcs_read = 0;