NOR: add read() callback to struct flash_driver
[fw/openocd] / src / flash / nor / str7x.c
index 3d523413cdad2ebe5bd53dc165b6db130024ad3d..46510ed45af2e1c1b563c74671ec02cde88560e9 100644 (file)
@@ -790,6 +790,7 @@ struct flash_driver str7x_flash = {
        .erase = str7x_erase,
        .protect = str7x_protect,
        .write = str7x_write,
+       .read = default_flash_read,
        .probe = str7x_probe,
        .auto_probe = str7x_probe,
        .erase_check = default_flash_blank_check,