diff options
Diffstat (limited to 'chipdrivers.h')
-rw-r--r-- | chipdrivers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index aa240851..04963c22 100644 --- a/chipdrivers.h +++ b/chipdrivers.h @@ -65,8 +65,8 @@ int spi_exit_4ba(struct flashctx *flash); int spi_set_extended_address(struct flashctx *, uint8_t addr_high); /* spi25_statusreg.c */ -uint8_t spi_read_status_register(struct flashctx *flash); -int spi_write_status_register(struct flashctx *flash, int status); +uint8_t spi_read_status_register(const struct flashctx *flash); +int spi_write_status_register(const struct flashctx *flash, int status); int s25fs_read_cr(struct flashctx *const flash, uint32_t addr); int s25fs_write_cr(struct flashctx *const flash, uint32_t addr, uint8_t data); int s25fs_restore_cr3nv(struct flashctx *const flash, uint8_t cfg); |