aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/nuc1x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/nuc1x.c')
-rw-r--r--src/flash/nor/nuc1x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/nuc1x.c b/src/flash/nor/nuc1x.c
index 6ca858e..179302e 100644
--- a/src/flash/nor/nuc1x.c
+++ b/src/flash/nor/nuc1x.c
@@ -378,7 +378,7 @@ static int nuc1x_erase(struct flash_bank *bank, int first, int last)
}
/* The write routine stub. */
-static int nuc1x_write(struct flash_bank *bank, uint8_t *buffer,
+static int nuc1x_write(struct flash_bank *bank, const uint8_t *buffer,
uint32_t offset, uint32_t count)
{
struct target *target = bank->target;