• Steven Zakulec's avatar
    Tag all EWSR chips correctly · 3603a28a
    Steven Zakulec authored
    
    All SPI chips without a WRSR feature bit set were evaluated except the
    Sanyo LF25FW203A for which no datasheet is available.
    
    The following list includes all SPI-capable chips that still have no
    WRSR feature bit set:
     - AT26DF041
     - AT45CS1282
     - AT45DB011D
     - AT45DB021D
     - AT45DB041D
     - AT45DB081D
     - AT45DB161D
     - AT45DB321C
     - AT45DB321D
     - AT45DB642D
    
    All of them have no write function set and can be therefore ignored
    for now.
    
    Apart from those the generic chips are also not tagged. The opaque
    flash interface should not be affected. The SFDP dummy chip is
    changed to explicitly set EWSR if it can't deduce it dynamically.
    The vendor detecting generic chips can't write anyway.
    
    Corresponding to flashrom svn r1527.
    Signed-off-by: default avatarSteven Zakulec <spzakulec@gmail.com>
    Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    3603a28a
flashchips.c 222 KB