Changeset 1402 for trunk


Ignore:
Timestamp:
08/01/11 20:39:28 (10 months ago)
Author:
stefanct
Message:

Switch to AAI for some more SST chips

Enable AAI for:
SST25VF016B
SST25VF040B{,.REMS}
SST25VF080B

Chips that support AAI via a different opcode are annotated with a comment:
SST25VF040.REMS
SST25LF040A.RES

SST25VF080B
Tested-by: Joshua Roys <roysjosh@…>
Write time (w/erase) went from 46 s to 21 s.

SST25VF016B
Tested-by: Noé Rubinstein <nrubinstein@…>
Write time (w/erase) on a dediprog went from 143 mins to 56 mins.

Signed-off-by: Joshua Roys <roysjosh@…>
Rebased and
Acked-by: Noé Rubinstein <nrubinstein@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashchips.c

    r1396 r1402  
    56075607                }, 
    56085608                .unlock         = spi_disable_blockprotect, 
    5609                 .write          = spi_chip_write_1, 
     5609                .write          = spi_aai_write, 
    56105610                .read           = spi_chip_read, 
    56115611                .voltage        = {2700, 3600}, 
     
    57095709                }, 
    57105710                .unlock         = spi_disable_blockprotect, 
    5711                 .write          = spi_chip_write_1, 
     5711                .write          = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ 
    57125712                .read           = spi_chip_read, 
    57135713                .voltage        = {2700, 3600}, 
     
    57455745                }, 
    57465746                .unlock         = spi_disable_blockprotect, 
    5747                 .write          = spi_chip_write_1, 
     5747                .write          = spi_aai_write, 
    57485748                .read           = spi_chip_read, 
    57495749                .voltage        = {2700, 3600}, 
     
    57755775                }, 
    57765776                .unlock         = spi_disable_blockprotect, 
    5777                 .write          = spi_chip_write_1, 
     5777                .write          = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ 
    57785778                .read           = spi_chip_read, 
    57795779                .voltage        = {3000, 3600}, 
     
    58115811                }, 
    58125812                .unlock         = spi_disable_blockprotect, 
    5813                 .write          = spi_chip_write_1, 
     5813                .write          = spi_aai_write, 
    58145814                .read           = spi_chip_read, 
    58155815                .voltage        = {2700, 3600}, 
     
    58475847                }, 
    58485848                .unlock         = spi_disable_blockprotect, 
    5849                 .write          = spi_chip_write_1, 
     5849                .write          = spi_aai_write, 
    58505850                .read           = spi_chip_read, 
    58515851                .voltage        = {2700, 3600}, 
Note: See TracChangeset for help on using the changeset viewer.