projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flash/nor: Do not update 'is_erased'
[fw/openocd]
/
src
/
flash
/
nor
/
at91sam4l.c
diff --git
a/src/flash/nor/at91sam4l.c
b/src/flash/nor/at91sam4l.c
index d09414cbe771a78169f30291a97fb9ffee8a32a5..f8c6f6490644c384cc2375ff9427116a952230d3 100644
(file)
--- a/
src/flash/nor/at91sam4l.c
+++ b/
src/flash/nor/at91sam4l.c
@@
-480,9
+480,6
@@
static int sam4l_erase(struct flash_bank *bank, unsigned int first,
return ERROR_FAIL;
}
}
-
- /* This sector is definitely erased. */
- bank->sectors[i].is_erased = 1;
}
}