flash: Constify write buffer
[fw/openocd] / src / target / dsp5680xx.h
index 1b71009086d97b05513deea2e92d86acce492da2..cb3bf2a4f559113be762922fc9ac5ec0ce561a41 100644 (file)
@@ -317,7 +317,7 @@ static inline struct dsp5680xx_common *target_to_dsp5680xx(struct target
  *
  * @return
  */
-int dsp5680xx_f_wr(struct target *target, uint8_t * buffer, uint32_t address,
+int dsp5680xx_f_wr(struct target *target, const uint8_t * buffer, uint32_t address,
                uint32_t count, int is_flash_lock);
 
 /**