aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-01-10 15:16:40 -0800
committerGitHub <noreply@github.com>2018-01-10 15:16:40 -0800
commit0d60a29c21e1bbc3f57faaac527263ebced06c92 (patch)
treeff0ad5dab0ba859eeedacdcf7e7141f7fc5d7ca0 /src
parent160b79427480c1a7d26bda0c45d8016ec2471b58 (diff)
parent37434ffd77cc6b38fb4832b5f38cc42eeeade888 (diff)
downloadriscv-openocd-0d60a29c21e1bbc3f57faaac527263ebced06c92.zip
riscv-openocd-0d60a29c21e1bbc3f57faaac527263ebced06c92.tar.gz
riscv-openocd-0d60a29c21e1bbc3f57faaac527263ebced06c92.tar.bz2
Merge pull request #178 from riscv/cleanup
Rename dummy variable to be correct.
Diffstat (limited to 'src')
-rw-r--r--src/target/riscv/riscv-013.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index 9f37089..4624802 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -566,8 +566,8 @@ static int execute_abstract_command(struct target *target, uint32_t command)
dmi_write(target, DMI_COMMAND, command);
{
- uint32_t dmstatus = 0;
- wait_for_idle(target, &dmstatus);
+ uint32_t abstractcs = 0;
+ wait_for_idle(target, &abstractcs);
}
uint32_t cs = dmi_read(target, DMI_ABSTRACTCS);