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
/
stm32x.c
diff --git
a/src/flash/nor/stm32x.c
b/src/flash/nor/stm32x.c
index 7afd9597da007b8a55be609f00e048f7414b076d..d11a8edc640b56c77b21965d92a7d70258029b30 100644
(file)
--- a/
src/flash/nor/stm32x.c
+++ b/
src/flash/nor/stm32x.c
@@
-1293,6
+1293,7
@@
struct flash_driver stm32x_flash = {
.erase = stm32x_erase,
.protect = stm32x_protect,
.write = stm32x_write,
+ .read = default_flash_read,
.probe = stm32x_probe,
.auto_probe = stm32x_auto_probe,
.erase_check = default_flash_mem_blank_check,