projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
types: write memory now uses const
[fw/openocd]
/
src
/
target
/
avr32_ap7k.c
diff --git
a/src/target/avr32_ap7k.c
b/src/target/avr32_ap7k.c
index ed10847abcf2bd4cd6ec6b4e9bd80faf21c9a31b..70e5129df8f3283d5cb2f167788de6ed774de317 100644
(file)
--- a/
src/target/avr32_ap7k.c
+++ b/
src/target/avr32_ap7k.c
@@
-515,7
+515,7
@@
static int avr32_ap7k_read_memory(struct target *target, uint32_t address,
}
static int avr32_ap7k_write_memory(struct target *target, uint32_t address,
}
static int avr32_ap7k_write_memory(struct target *target, uint32_t address,
- uint32_t size, uint32_t count, uint8_t *buffer)
+ uint32_t size, uint32_t count,
const
uint8_t *buffer)
{
struct avr32_ap7k_common *ap7k = target_to_ap7k(target);
{
struct avr32_ap7k_common *ap7k = target_to_ap7k(target);
@@
-600,7
+600,7
@@
static int avr32_ap7k_examine(struct target *target)
}
static int avr32_ap7k_bulk_write_memory(struct target *target, uint32_t address,
}
static int avr32_ap7k_bulk_write_memory(struct target *target, uint32_t address,
- uint32_t count, uint8_t *buffer)
+ uint32_t count,
const
uint8_t *buffer)
{
LOG_ERROR("%s: implement me", __func__);
{
LOG_ERROR("%s: implement me", __func__);