projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flash: Constify write buffer
[fw/openocd]
/
src
/
flash
/
nor
/
lpcspifi.c
diff --git
a/src/flash/nor/lpcspifi.c
b/src/flash/nor/lpcspifi.c
index 7566c275f863e3a32209a126fa4cfbf1782f0a31..2f4c6010e1da3fc2a3707dc85d6c8c7fbe59f555 100644
(file)
--- a/
src/flash/nor/lpcspifi.c
+++ b/
src/flash/nor/lpcspifi.c
@@
-581,7
+581,7
@@
static int lpcspifi_protect(struct flash_bank *bank, int set,
return ERROR_OK;
}
-static int lpcspifi_write(struct flash_bank *bank, uint8_t *buffer,
+static int lpcspifi_write(struct flash_bank *bank,
const
uint8_t *buffer,
uint32_t offset, uint32_t count)
{
struct target *target = bank->target;