path: root/chipdrivers.h
diff options
authorSean Nelson <>2010-03-16 00:51:31 +0000
committerSean Nelson <>2010-03-16 00:51:31 +0000
commite4446e4ddb0cf1686d651d23519e6387599b4bb3 (patch)
treee66c02958f8025906058069a044af4f040ce7ad6 /chipdrivers.h
parentffae6ca46862aab833a040e493e709c146a1ba34 (diff)
Clean up sharplhf00l04.c after JEDEC refactorings
- remove some copied functions (from 82802ab.c) and use the 82802ab equivalents - fix missing prototypes to *_82802ab functions Corresponding to flashrom svn r941. fix missing prototypes to _82802ab functions Signed-off-by: Sean Nelson <> Acked-by: Carl-Daniel Hailfinger <>
Diffstat (limited to 'chipdrivers.h')
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