From f42353d82137d0a3f5e2433bae931c82b8407c74 Mon Sep 17 00:00:00 2001 From: "Rodrigo L. Rosa" Date: Fri, 10 Jun 2011 12:20:18 -0700 Subject: [PATCH] fix read speed improved by queueing commands --- src/target/dsp5680xx.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c index c79ee3ae..f503e081 100644 --- a/src/target/dsp5680xx.c +++ b/src/target/dsp5680xx.c @@ -714,7 +714,14 @@ static int dsp5680xx_read(struct target * target, uint32_t address, unsigned siz retval = dsp5680xx_convert_address(&address, &pmem); err_check_propagate(retval); + context.flush = 0; + int counter = FLUSH_COUNT_READ_WRITE; + for (unsigned i=0; i