at91samd: handle reset run/halt in DSU
[fw/openocd] / src / flash / nor / driver.h
index 4e1720748b926912329b24e9007c162be04f93aa..8f2e1cc2328b4bb4147344121627be4b4ee7be0e 100644 (file)
@@ -137,7 +137,7 @@ struct flash_driver {
         * @returns ERROR_OK if successful; otherwise, an error code.
         */
        int (*write)(struct flash_bank *bank,
-                       uint8_t *buffer, uint32_t offset, uint32_t count);
+                       const uint8_t *buffer, uint32_t offset, uint32_t count);
 
        /**
         * Read data from the flash. Note CPU address will be