summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorRodrigo L. Rosa <rodrigorosa.lg@gmail.com>2011-05-18 20:11:04 -0700
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-05-19 07:27:02 +0200
commitef599aebfdbca9fa1b710d272d93d9d6b6999801 (patch)
treed1891eeed5460d121c3024ce9342676df24498a3 /src/flash
parentee124401a21f4dff3332f3f417b7bd2e67034cbc (diff)
downloadopenocd_libswd-ef599aebfdbca9fa1b710d272d93d9d6b6999801.tar.gz
openocd_libswd-ef599aebfdbca9fa1b710d272d93d9d6b6999801.tar.bz2
openocd_libswd-ef599aebfdbca9fa1b710d272d93d9d6b6999801.tar.xz
openocd_libswd-ef599aebfdbca9fa1b710d272d93d9d6b6999801.zip
flashing speed improved using queued jtag. error propagation improved.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/dsp5680xx_flash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/nor/dsp5680xx_flash.c b/src/flash/nor/dsp5680xx_flash.c
index 7b88f7a5..e9c4e825 100644
--- a/src/flash/nor/dsp5680xx_flash.c
+++ b/src/flash/nor/dsp5680xx_flash.c
@@ -142,8 +142,8 @@ static int dsp5680xx_flash_write(struct flash_bank *bank, uint8_t *buffer, uint3
}
static int dsp5680xx_probe(struct flash_bank *bank){
- //LOG_USER("%s not implemented",__FUNCTION__);
- return ERROR_OK;
+ LOG_DEBUG("%s not implemented",__FUNCTION__);
+ return ERROR_OK;
}
static int dsp5680xx_flash_info(struct flash_bank *bank, char *buf, int buf_size){
@@ -197,7 +197,7 @@ struct flash_driver dsp5680xx_flash = {
.protect = dsp5680xx_flash_protect,
.write = dsp5680xx_flash_write,
//.read = default_flash_read,
- //.probe = dsp5680xx_probe,
+ .probe = dsp5680xx_probe,
.auto_probe = dsp5680xx_probe,
.erase_check = dsp5680xx_flash_erase_check,
.protect_check = dsp5680xx_flash_protect_check,