NOR: add read() callback to struct flash_driver
[fw/openocd] / src / flash / nor / stm32x.c
index 7afd9597da007b8a55be609f00e048f7414b076d..d11a8edc640b56c77b21965d92a7d70258029b30 100644 (file)
@@ -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,