From f42353d82137d0a3f5e2433bae931c82b8407c74 Mon Sep 17 00:00:00 2001 From: "Rodrigo L. Rosa" Date: Fri, 10 Jun 2011 12:20:18 -0700 Subject: fix read speed improved by queueing commands --- src/target/dsp5680xx.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/target/dsp5680xx.c') diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c index c79ee3a..f503e08 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