summaryrefslogtreecommitdiff
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorsnelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-03-16 00:51:31 +0000
committersnelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-03-16 00:51:31 +0000
commitff4f0c92b7478de5c77f54ccc905589b05971dcb (patch)
treee66c02958f8025906058069a044af4f040ce7ad6 /chipdrivers.h
parent6e45714bb23d0626906f2f767ad261a3951afa11 (diff)
downloadflashrom-ff4f0c92b7478de5c77f54ccc905589b05971dcb.tar.gz
remove some copied functions (from 82802ab.c) and use the 82802ab equivalents
fix missing prototypes to _82802ab functions Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@941 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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);