path: root/chipdrivers.h
diff options
authorSean Nelson <>2010-03-23 17:10:28 +0000
committerSean Nelson <>2010-03-23 17:10:28 +0000
commit69e5811e791dce0bb03796d842314c0397ff0e7c (patch)
tree2b37bafd08aecabc45fd72ec36bdba132a6f0b4c /chipdrivers.h
parent12aa0be5d47d8759e27a1ee412b2f95b9906898b (diff)
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 <> Acked-by: Carl-Daniel Hailfinger <>
Diffstat (limited to 'chipdrivers.h')
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);
OpenPOWER on IntegriCloud