diff options
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/programmer.h b/programmer.h index 73b94c155..3d35a4653 100644 --- a/programmer.h +++ b/programmer.h @@ -607,9 +607,10 @@ int serprog_init(void); void serprog_chip_writeb(uint8_t val, chipaddr addr); uint8_t serprog_chip_readb(const chipaddr addr); void serprog_chip_readn(uint8_t *buf, const chipaddr addr, size_t len); -void serprog_delay(int delay); +void serprog_delay(int usecs); int serprog_spi_send_command(unsigned int writecnt, unsigned int readcnt, - const unsigned char *writearr, unsigned char *readarr); + const unsigned char *writearr, + unsigned char *readarr); int serprog_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len); #endif |