mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
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>
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user