]> git.sur5r.net Git - openocd/blobdiff - src/flash/nor/dsp5680xx_flash.c
flash: Constify write buffer
[openocd] / src / flash / nor / dsp5680xx_flash.c
index 9368d892c3296d42d9671e6bed14ab58aebc0901..693ff487edd71c024fb14e4ac1a8358fbc84c968 100644 (file)
@@ -156,7 +156,7 @@ static int dsp5680xx_flash_protect(struct flash_bank *bank, int set, int first,
  *
  * @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;