]> git.sur5r.net Git - openocd/blobdiff - src/target/dsp5680xx.h
flash: Constify write buffer
[openocd] / src / target / dsp5680xx.h
index b2260db815dcf17a8c6ecf05ec3b633072584455..cb3bf2a4f559113be762922fc9ac5ec0ce561a41 100644 (file)
@@ -18,7 +18,7 @@
  *   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.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.           *
  ***************************************************************************/
 
 #ifndef DSP5680XX_H
@@ -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);
 
 /**