NOR: add read() callback to struct flash_driver
[fw/openocd] / src / flash / nor / at91sam7.c
index cca0cf2cc1a73c02b2057967fe47b1736aea071d..606cc32b02908b469ed6ff816c43df2976d0eda4 100644 (file)
@@ -1207,6 +1207,7 @@ struct flash_driver at91sam7_flash = {
        .erase = at91sam7_erase,
        .protect = at91sam7_protect,
        .write = at91sam7_write,
+       .read = default_flash_read,
        .probe = at91sam7_probe,
        .auto_probe = at91sam7_probe,
        .erase_check = at91sam7_erase_check,