diff options
Diffstat (limited to 'serprog.c')
-rw-r--r-- | serprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -295,7 +295,7 @@ static int sp_stream_buffer_op(uint8_t cmd, uint32_t parmlen, uint8_t *parms) return 0; } -static int serprog_spi_send_command(struct flashctx *flash, +static int serprog_spi_send_command(const struct flashctx *flash, unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr); @@ -894,7 +894,7 @@ void serprog_delay(unsigned int usecs) sp_prev_was_write = 0; } -static int serprog_spi_send_command(struct flashctx *flash, +static int serprog_spi_send_command(const struct flashctx *flash, unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr) |