projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flash : Add support for Atmel at91sam4sa16b
[fw/openocd]
/
src
/
flash
/
nor
/
dsp5680xx_flash.c
diff --git
a/src/flash/nor/dsp5680xx_flash.c
b/src/flash/nor/dsp5680xx_flash.c
index b935a1e895c60ae2fc94897cec694c788ed2fab1..693ff487edd71c024fb14e4ac1a8358fbc84c968 100644
(file)
--- a/
src/flash/nor/dsp5680xx_flash.c
+++ b/
src/flash/nor/dsp5680xx_flash.c
@@
-156,7
+156,7
@@
static int dsp5680xx_flash_protect(struct flash_bank *bank, int set, int first,
*
* @return
*/
*
* @return
*/
-static int dsp5680xx_flash_write(struct flash_bank *bank,
uint8_t
* buffer,
+static int dsp5680xx_flash_write(struct flash_bank *bank,
const uint8_t
* buffer,
uint32_t offset, uint32_t count)
{
int retval;
uint32_t offset, uint32_t count)
{
int retval;
@@
-193,14
+193,6
@@
static int dsp5680xx_probe(struct flash_bank *bank)
return ERROR_OK;
}
return ERROR_OK;
}
-static int dsp5680xx_flash_info(struct flash_bank *bank, char *buf,
- int buf_size)
-{
- snprintf(buf, buf_size,
- "\ndsp5680xx flash driver info:\n - See comments in code.");
- return ERROR_OK;
-}
-
/**
* The flash module (FM) on the dsp5680xx supports both individual sector
* and mass erase of the flash memory.
/**
* The flash module (FM) on the dsp5680xx supports both individual sector
* and mass erase of the flash memory.
@@
-277,5
+269,4
@@
struct flash_driver dsp5680xx_flash = {
.auto_probe = dsp5680xx_probe,
.erase_check = dsp5680xx_flash_erase_check,
.protect_check = dsp5680xx_flash_protect_check,
.auto_probe = dsp5680xx_probe,
.erase_check = dsp5680xx_flash_erase_check,
.protect_check = dsp5680xx_flash_protect_check,
- .info = dsp5680xx_flash_info
};
};