]> git.sur5r.net Git - openocd/blobdiff - src/flash/nor/ocl.c
NOR: add read() callback to struct flash_driver
[openocd] / src / flash / nor / ocl.c
index 5d93724814bf8762ea50b4c1012c3bee4aacb0bf..9a295eb039a9708972b432331d52be1201b1092a 100644 (file)
@@ -353,6 +353,7 @@ struct flash_driver ocl_flash = {
        .erase = ocl_erase,
        .protect = ocl_protect,
        .write = ocl_write,
+       .read = default_flash_read,
        .probe = ocl_probe,
        .erase_check = ocl_erase_check,
        .protect_check = ocl_protect_check,