diff options
author | Ollie Lho <ollie@sis.com.tw> | 2004-03-27 00:31:03 +0000 |
---|---|---|
committer | Ollie Lho <ollie@sis.com.tw> | 2004-03-27 00:31:03 +0000 |
commit | afdfce8cbc4f844abf59dc2c15020cb84cfbd890 (patch) | |
tree | 6f2774935ae65bf48daef31bcafda40058c90151 /jedec.h | |
parent | 8b8897a5fd6325ae4709e3066107c3e419cd7fd6 (diff) | |
download | flashrom-afdfce8cbc4f844abf59dc2c15020cb84cfbd890.tar.gz flashrom-afdfce8cbc4f844abf59dc2c15020cb84cfbd890.tar.bz2 flashrom-afdfce8cbc4f844abf59dc2c15020cb84cfbd890.zip |
Data type consistence
Corresponding to flashrom svn r20 and coreboot v2 svn r1487.
Diffstat (limited to 'jedec.h')
-rw-r--r-- | jedec.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,9 +4,8 @@ extern int probe_jedec(struct flashchip *flash); extern int erase_chip_jedec(struct flashchip *flash); extern int write_jedec(struct flashchip *flash, unsigned char *buf); -extern int erase_sector_jedec(volatile char *bios, unsigned int page); -extern int write_sector_jedec(volatile unsigned char *bios, - unsigned char *src, +extern int erase_sector_jedec(volatile unsigned char *bios, unsigned int page); +extern int write_sector_jedec(volatile unsigned char *bios, unsigned char *src, volatile unsigned char *dst, unsigned int page_size); |