diff options
author | Sean Nelson <audiohacked@gmail.com> | 2010-03-16 03:09:10 +0000 |
---|---|---|
committer | Sean Nelson <audiohacked@gmail.com> | 2010-03-16 03:09:10 +0000 |
commit | ccf7a2a231a213fe987a675ca6869456dbbd37da (patch) | |
tree | d9264e9d63564e55fcaa38d819e69d6ae3715087 /chipdrivers.h | |
parent | b3289c904c0242333d1283e85d88e61ee2d3e923 (diff) | |
download | flashrom-ccf7a2a231a213fe987a675ca6869456dbbd37da.tar.gz flashrom-ccf7a2a231a213fe987a675ca6869456dbbd37da.tar.bz2 flashrom-ccf7a2a231a213fe987a675ca6869456dbbd37da.zip |
Further cleanup after JEDEC refactorings
Convert _sst_fwhub functions to jedec.
Corresponding to flashrom svn r943.
kill unused sst_fwhub.c functions
make unlock_* check if unlock was successful and only return 0 when fully successful
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 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index 029c82a9d..ca82c2d0c 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); |