diff options
author | snelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-03-23 17:10:28 +0000 |
---|---|---|
committer | snelson <snelson@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-03-23 17:10:28 +0000 |
commit | 115b2790f59e41fb84eac32df3b9c31aebe8cc55 (patch) | |
tree | 2b37bafd08aecabc45fd72ec36bdba132a6f0b4c /chipdrivers.h | |
parent | 2750ad6258089047af337c57faca271c455e40cf (diff) | |
download | flashrom-115b2790f59e41fb84eac32df3b9c31aebe8cc55.tar.gz |
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.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@972 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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 c96f445..6d5cef0 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); |