diff options
author | Sean Nelson <audiohacked@gmail.com> | 2010-03-16 00:51:31 +0000 |
---|---|---|
committer | Sean Nelson <audiohacked@gmail.com> | 2010-03-16 00:51:31 +0000 |
commit | e4446e4ddb0cf1686d651d23519e6387599b4bb3 (patch) | |
tree | e66c02958f8025906058069a044af4f040ce7ad6 /chipdrivers.h | |
parent | ffae6ca46862aab833a040e493e709c146a1ba34 (diff) | |
download | flashrom-e4446e4ddb0cf1686d651d23519e6387599b4bb3.tar.gz flashrom-e4446e4ddb0cf1686d651d23519e6387599b4bb3.tar.bz2 flashrom-e4446e4ddb0cf1686d651d23519e6387599b4bb3.zip |
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 <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r-- | chipdrivers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index 64c8845e2..c7fecd237 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); |