diff options
author | Sean Nelson <audiohacked@gmail.com> | 2010-03-23 17:10:28 +0000 |
---|---|---|
committer | Sean Nelson <audiohacked@gmail.com> | 2010-03-23 17:10:28 +0000 |
commit | 69e5811e791dce0bb03796d842314c0397ff0e7c (patch) | |
tree | 2b37bafd08aecabc45fd72ec36bdba132a6f0b4c /chipdrivers.h | |
parent | 12aa0be5d47d8759e27a1ee412b2f95b9906898b (diff) | |
download | flashrom-69e5811e791dce0bb03796d842314c0397ff0e7c.tar.gz flashrom-69e5811e791dce0bb03796d842314c0397ff0e7c.tar.bz2 flashrom-69e5811e791dce0bb03796d842314c0397ff0e7c.zip |
Sst49lfxxxc chips are functionally the same as 82802ab chips
Sst49lfxxxc software status register is functionally the same as the
82802ab status register, "Block Protect Status"(49lfxxxc) can be treated
the same as "Device Protect Status"(82802ab).
Erase_block_49lfxxxc is the same command sequence as erase_block_82802ab.
Add unlock_49lfxxxc to chips definitions.
Write_sector_49lfxxxc is the same as write_page_82802ab.
Corresponding to flashrom svn r972.
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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index c96f44564..6d5cef0fd 100644 --- a/chipdrivers.h +++ b/chipdrivers.h @@ -100,11 +100,7 @@ int erase_sector_28sf040(struct flashchip *flash, unsigned int address, unsigned int write_28sf040(struct flashchip *flash, uint8_t *buf); /* sst49lfxxxc.c */ -int probe_49lfxxxc(struct flashchip *flash); -int erase_49lfxxxc(struct flashchip *flash); int erase_sector_49lfxxxc(struct flashchip *flash, unsigned int address, unsigned int sector_size); -int erase_block_49lfxxxc(struct flashchip *flash, unsigned int address, unsigned int sector_size); -int erase_chip_49lfxxxc(struct flashchip *flash, unsigned int addr, unsigned int blocksize); int write_49lfxxxc(struct flashchip *flash, uint8_t *buf); int unlock_49lfxxxc(struct flashchip *flash); |