diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2014-05-29 11:51:24 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2014-05-29 11:51:24 +0000 |
commit | 775e991dbaefe32f8093816d5b86a87c90974a15 (patch) | |
tree | c5b314cb8b40888ee7cd4a2ef7d8bd8f7953aaeb /chipdrivers.h | |
parent | 1b00073913331b051a3733cbc371becf812f1e94 (diff) | |
download | flashrom-775e991dbaefe32f8093816d5b86a87c90974a15.tar.gz |
jedec.c: constify a bit more.
Also, include chipdrivers.h to find conflicting types between exported
declarations and actual implementations.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1805 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'chipdrivers.h')
-rw-r--r-- | chipdrivers.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index d9b2dc7..7fe3202 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); |