projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NOR: add read() callback to struct flash_driver
[fw/openocd]
/
src
/
flash
/
nor
/
pic32mx.c
diff --git
a/src/flash/nor/pic32mx.c
b/src/flash/nor/pic32mx.c
index 4ebd2564bc9c6144c2c23683664ee833171d9f47..58009ae57bf39259c12df8b5a8056c70008186ae 100644
(file)
--- a/
src/flash/nor/pic32mx.c
+++ b/
src/flash/nor/pic32mx.c
@@
-766,6
+766,7
@@
struct flash_driver pic32mx_flash = {
.erase = pic32mx_erase,
.protect = pic32mx_protect,
.write = pic32mx_write,
+ .read = default_flash_read,
.probe = pic32mx_probe,
.auto_probe = pic32mx_auto_probe,
.erase_check = default_flash_mem_blank_check,