summaryrefslogtreecommitdiffstats
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorSean Nelson <audiohacked@gmail.com>2010-03-16 03:09:10 +0000
committerSean Nelson <audiohacked@gmail.com>2010-03-16 03:09:10 +0000
commit15c77d4de24ffb4e12f675172951449af759a667 (patch)
treed9264e9d63564e55fcaa38d819e69d6ae3715087 /chipdrivers.h
parent4484e19ed72f251bfd5c7f1bef74cfc552ca2ea4 (diff)
downloadflashrom-15c77d4de24ffb4e12f675172951449af759a667.zip
flashrom-15c77d4de24ffb4e12f675172951449af759a667.tar.gz
Convert _sst_fwhub functions to jedec kill unused sst_fwhub.c functions
Make unlock_* check if unlock was successful and only return 0 when fully successful Corresponding to flashrom svn r943. 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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index 029c82a..ca82c2d 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -111,11 +111,8 @@ int write_49lfxxxc(struct flashchip *flash, uint8_t *buf);
int unlock_49lfxxxc(struct flashchip *flash);
/* sst_fwhub.c */
-int erase_sst_fwhub(struct flashchip *flash);
-int erase_sst_fwhub_block(struct flashchip *flash, unsigned int offset, unsigned int page_size);
-int erase_sst_fwhub_sector(struct flashchip *flash, unsigned int offset, unsigned int page_size);
-int write_sst_fwhub(struct flashchip *flash, uint8_t *buf);
int printlock_sst_fwhub(struct flashchip *flash);
+int unlock_sst_fwhub(struct flashchip *flash);
/* w39v040c.c */
int printlock_w39v040c(struct flashchip *flash);
OpenPOWER on IntegriCloud