X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fdsp5680xx.h;h=842796bc7f7fdf0be33209e996dbd8e2aed411e9;hp=b2260db815dcf17a8c6ecf05ec3b633072584455;hb=7a3eec2b4d9dbb9533acfb271dbe91afa0727c8e;hpb=a2935397b48ce2a1bbb8e49258b340479e0b9c8e
diff --git a/src/target/dsp5680xx.h b/src/target/dsp5680xx.h
index b2260db815..842796bc7f 100644
--- a/src/target/dsp5680xx.h
+++ b/src/target/dsp5680xx.h
@@ -16,13 +16,11 @@
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * along with this program. If not, see . *
***************************************************************************/
-#ifndef DSP5680XX_H
-#define DSP5680XX_H
+#ifndef OPENOCD_TARGET_DSP5680XX_H
+#define OPENOCD_TARGET_DSP5680XX_H
#include
@@ -317,7 +315,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);
/**
@@ -381,4 +379,4 @@ int dsp5680xx_f_lock(struct target *target);
*/
int dsp5680xx_f_unlock(struct target *target);
-#endif /* DSP5680XX_H */
+#endif /* OPENOCD_TARGET_DSP5680XX_H */