From 69e5811e791dce0bb03796d842314c0397ff0e7c Mon Sep 17 00:00:00 2001 From: Sean Nelson Date: Tue, 23 Mar 2010 17:10:28 +0000 Subject: 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 --- chipdrivers.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chipdrivers.h') 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); -- cgit v1.1