aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodrigo L. Rosa <rodrigorosa.LG@gmail.com>2011-07-19 20:04:46 -0700
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-08-09 20:07:49 +0200
commitc2c19c50186f6686c072f65ade8984771987305f (patch)
treea11d70c8b41cbd1b186be60142023c9a8d9467bd /src
parente8543de820ac28db80eb9c22523cd5ee043ee0e9 (diff)
downloadriscv-openocd-c2c19c50186f6686c072f65ade8984771987305f.zip
riscv-openocd-c2c19c50186f6686c072f65ade8984771987305f.tar.gz
riscv-openocd-c2c19c50186f6686c072f65ade8984771987305f.tar.bz2
dsp5680xx fix constante ref
a counter was incorrectly set when i added the macros i incorrectly called them. fixed that.
Diffstat (limited to 'src')
-rw-r--r--src/target/dsp5680xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c
index fc1f9c6..175f777 100644
--- a/src/target/dsp5680xx.c
+++ b/src/target/dsp5680xx.c
@@ -742,7 +742,7 @@ static int dsp5680xx_read(struct target * target, uint32_t address, unsigned siz
for (unsigned i=0; i<count; i++){
if(--counter==0){
dsp5680xx_context.flush = 1;
- counter = FLUSH_COUNT_FLASH;
+ counter = FLUSH_COUNT_READ_WRITE;
}
switch (size){
case 1: