From 0ab1e5d5e3d37aa97eb4ae36caac06a800c86654 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Thu, 29 May 2014 11:51:24 +0000 Subject: jedec.c: constify a bit more Also, include chipdrivers.h to find conflicting types between exported declarations and actual implementations. Corresponding to flashrom svn r1805. Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner --- chipdrivers.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'chipdrivers.h') diff --git a/chipdrivers.h b/chipdrivers.h index d9b2dc721..7fe320283 100644 --- a/chipdrivers.h +++ b/chipdrivers.h @@ -136,10 +136,8 @@ int unlock_lh28f008bjt(struct flashctx *flash); /* jedec.c */ uint8_t oddparity(uint8_t val); -void toggle_ready_jedec(struct flashctx *flash, chipaddr dst); -void data_polling_jedec(struct flashctx *flash, chipaddr dst, uint8_t data); -int write_byte_program_jedec(struct flashctx *flash, chipaddr bios, uint8_t *src, - chipaddr dst); +void toggle_ready_jedec(const struct flashctx *flash, chipaddr dst); +void data_polling_jedec(const struct flashctx *flash, chipaddr dst, uint8_t data); int probe_jedec(struct flashctx *flash); int write_jedec(struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len); int write_jedec_1(struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len); -- cgit v1.2.3