• Stefan Tauner's avatar
    Add support for Atmel AT26DF041 · 94b39b47
    Stefan Tauner authored
    
    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: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    94b39b47
spi25.c 34.2 KB