• Jernej Škrabec's avatar
    Add support for Spansion S25FL127S · e814a9b6
    Jernej Škrabec authored
    
    
    This flash chip can be configured (one time) to use 64 KiB or 256 KiB sectors.
    Additionally, in the 64 KiB mode it supports 16 4 KiB sub-sectors that can be
    (one time) programmed to be on the top or bottom of the device. The sub-sectors
    can be erased with the 0x20 opcode but because this opcode does not work
    with the remaining sectors and flashrom can not cope with that the 0x20
    opcode is not supported yet.
    
    This patch adds two definitions, one for the 64 KiB and 256 KiB configuration
    respectively. The device also shares the RDID with the various S25FL128
    devices so we have to increase the maximum number of successfully probed
    chips to 8.
    
    The 64 KiB mode was tested on real hardware.
    
    Corresponding to flashrom svn r1858.
    Signed-off-by: default avatarJernej Škrabec <jernej.skrabec@planet.si>
    Signed-off-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    Acked-by: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    e814a9b6
flashchips.h 38.4 KB