NOR: add read() callback to struct flash_driver
[fw/openocd] / src / flash / nor / str9xpec.c
index 861d70bcbd3ff528585b0584220e8e54c5bed3a5..073dfe10fa31750abf3d7e1ef1e3157a7672791b 100644 (file)
@@ -1247,6 +1247,7 @@ struct flash_driver str9xpec_flash = {
        .erase = str9xpec_erase,
        .protect = str9xpec_protect,
        .write = str9xpec_write,
+       .read = default_flash_read,
        .probe = str9xpec_probe,
        .auto_probe = str9xpec_probe,
        .erase_check = str9xpec_erase_check,