mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Add support for Atmel AT26DF041
Wicked chip: No WRSR, no write enable command (but swallows our default one without a problem), supports an auto-erasing page write (but even without that page writes are recommended to write the whole page i.e. operate on a completely erased page), mad requirements on block refreshments if only partly written. Found on my Intel D946GZIS and tested with my serprog in situ. Using the page write by setting JEDEC_BYTE_PROGRAM to 0x11 and using the spi_chip_write_256 command greatly improves performance and works flawlessly. Corresponding to flashrom svn r1616. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
@ -41,7 +41,9 @@ int probe_spi_res2(struct flashctx *flash);
|
||||
int spi_write_enable(struct flashctx *flash);
|
||||
int spi_write_disable(struct flashctx *flash);
|
||||
int spi_block_erase_20(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
|
||||
int spi_block_erase_50(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
|
||||
int spi_block_erase_52(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
|
||||
int spi_block_erase_81(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
|
||||
int spi_block_erase_d7(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
|
||||
int spi_block_erase_d8(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
|
||||
int spi_block_erase_60(struct flashctx *flash, unsigned int addr, unsigned int blocklen);
|
||||
|
Reference in New Issue
Block a user