separated because i hope we can unsignify soonish :P

Signed-off-by: Stefan Tauner <[email protected]>
---
 chipdrivers.h |    4 ++--
 ichspi.c      |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/chipdrivers.h b/chipdrivers.h
index 03ff3e6..9865022 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -89,9 +89,9 @@ int unlock_lh28f008bjt(struct flashchip *flash);
 
 /* ichspi.c */
 int ich_hwseq_probe(struct flashchip *flash);
-int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, unsigned int start, 
unsigned int len);
+int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, int start, int len);
 int ich_hwseq_block_erase(struct flashchip *flash, unsigned int addr, unsigned 
int blocklen);
-int ich_hwseq_write_256(struct flashchip *flash, uint8_t *buf, unsigned int 
start, unsigned int len);
+int ich_hwseq_write_256(struct flashchip *flash, uint8_t *buf, int start, int 
len);
 
 /* jedec.c */
 uint8_t oddparity(uint8_t val);
diff --git a/ichspi.c b/ichspi.c
index 5db5b83..88042d1 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -1293,7 +1293,7 @@ int ich_hwseq_block_erase(struct flashchip *flash,
        return 0;
 }
 
-int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, unsigned int addr, 
unsigned int len)
+int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, int addr, int len)
 {
        uint16_t hsfc;
        uint16_t timeout = 100 * 60;
@@ -1337,7 +1337,7 @@ int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, 
unsigned int addr, uns
        return 0;
 }
 
-int ich_hwseq_write_256(struct flashchip *flash, uint8_t *buf, unsigned int 
addr, unsigned int len)
+int ich_hwseq_write_256(struct flashchip *flash, uint8_t *buf, int addr, int 
len)
 {
        uint16_t hsfc;
        uint16_t timeout = 100 * 60;
-- 
1.7.1


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to