From e4446e4ddb0cf1686d651d23519e6387599b4bb3 Mon Sep 17 00:00:00 2001 From: Sean Nelson Date: Tue, 16 Mar 2010 00:51:31 +0000 Subject: 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 --- chipdrivers.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chipdrivers.h') 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); -- cgit v1.1