NOR: add read() callback to struct flash_driver
[fw/openocd] / src / flash / nor / at91sam3.c
index 5f013ed8546762be59010280b9ab7d52d1145398..06b84cd317753177fd6f1ef06fbc93661b98bb8c 100644 (file)
@@ -2505,6 +2505,7 @@ struct flash_driver at91sam3_flash = {
        .erase = sam3_erase,
        .protect = sam3_protect,
        .write = sam3_write,
+       .read = default_flash_read,
        .probe = sam3_probe,
        .auto_probe = sam3_auto_probe,
        .erase_check = sam3_erase_check,