aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/stm32x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/stm32x.c')
-rw-r--r--src/flash/nor/stm32x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c
index 7afd9597..d11a8edc 100644
--- 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,