[flashrom] [PATCH 8/8] fix missing prototypes to _82802ab functions

Sean Nelson audiohacked at gmail.com
Tue Mar 16 00:45:40 CET 2010

Signed-off-by: Sean Nelson <audiohacked at gmail.com>
 chipdrivers.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/chipdrivers.h b/chipdrivers.h
index d8678a2..ca82c2d 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -49,26 +49,28 @@ uint8_t spi_read_status_register(void);
 int spi_disable_blockprotect(void);
 int spi_byte_program(int addr, uint8_t databyte);
 int spi_nbyte_program(int addr, uint8_t *bytes, int len);
 int spi_nbyte_read(int addr, uint8_t *bytes, int len);
 int spi_read_chunked(struct flashchip *flash, uint8_t *buf, int start, int len, int chunksize);
 int spi_aai_write(struct flashchip *flash, uint8_t *buf);
 /* 82802ab.c */
 uint8_t wait_82802ab(chipaddr bios);
 int probe_82802ab(struct flashchip *flash);
 int erase_82802ab(struct flashchip *flash);
 int erase_82802ab_block(struct flashchip *flash, unsigned int page, unsigned int pagesize);
 int write_82802ab(struct flashchip *flash, uint8_t *buf);
+void print_82802ab_status(uint8_t status);
+void write_page_82802ab(chipaddr bios, uint8_t *src, chipaddr dst, int page_size);
 /* jedec.c */
 uint8_t oddparity(uint8_t val);
 void toggle_ready_jedec(chipaddr dst);
 void data_polling_jedec(chipaddr dst, uint8_t data);
 int write_byte_program_jedec(chipaddr bios, uint8_t *src,
 			     chipaddr dst);
 int probe_jedec(struct flashchip *flash);
 int erase_chip_jedec(struct flashchip *flash);
 int write_jedec(struct flashchip *flash, uint8_t *buf);
 int write_jedec_1(struct flashchip *flash, uint8_t *buf);
 int erase_sector_jedec(struct flashchip *flash, unsigned int page, unsigned int pagesize);
 int erase_block_jedec(struct flashchip *flash, unsigned int page, unsigned int blocksize);

More information about the flashrom mailing list