summaryrefslogtreecommitdiffstats
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorSean Nelson <audiohacked@gmail.com>2010-03-16 00:51:31 +0000
committerSean Nelson <audiohacked@gmail.com>2010-03-16 00:51:31 +0000
commit9b31b810796149105fe771c0e76bdfe4771a81c9 (patch)
treee66c02958f8025906058069a044af4f040ce7ad6 /chipdrivers.h
parentd8df66e7ce4c88d05b9bc032c1a65256bd5830c6 (diff)
downloadflashrom-9b31b810796149105fe771c0e76bdfe4771a81c9.zip
flashrom-9b31b810796149105fe771c0e76bdfe4771a81c9.tar.gz
Remove some copied functions (from 82802ab.c) and use the 82802ab equivalents fix missing prototypes to _82802ab functions
Corresponding to flashrom svn r941. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index 64c8845..c7fecd2 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -59,6 +59,8 @@ 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);
OpenPOWER on IntegriCloud