NOR: add read() callback to struct flash_driver
[fw/openocd] / src / flash / nor / tms470.c
index edb43afa2f5c1782867a276fda0417e1181bc8ab..c1681f1971ddc65f7be89be9e4e3b0fc6708bf80 100644 (file)
@@ -1264,6 +1264,7 @@ struct flash_driver tms470_flash = {
        .erase = tms470_erase,
        .protect = tms470_protect,
        .write = tms470_write,
+       .read = default_flash_read,
        .probe = tms470_probe,
        .auto_probe = tms470_auto_probe,
        .erase_check = tms470_erase_check,