Changeset 1415


Ignore:
Timestamp:
08/17/11 11:50:11 (9 months ago)
Author:
stefanct
Message:

Add support for the SST25LF080A flash chip

Based on the definition of SST25LF040A and the public datasheet
available here:  http://www.sst.com/dotAsset/40316.pdf

Also, move the SST25LF040A up to keep the list ordered
alphabetically (while removing the ".RES" suffix).

Signed-off-by: Zeus Castro <thezeusjuice@…>
Acked-by: Stefan Tauner <stefan.tauner@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashchips.c

    r1402 r1415  
    55485548        { 
    55495549                .vendor         = "SST", 
     5550                .name           = "SST25LF040A", 
     5551                .bustype        = BUS_SPI, 
     5552                .manufacture_id = SST_ID, 
     5553                .model_id       = SST_SST25VF040_REMS, 
     5554                .total_size     = 512, 
     5555                .page_size      = 256, 
     5556                .tested         = TEST_OK_PROBE, 
     5557                .probe          = probe_spi_res2, 
     5558                .probe_timing   = TIMING_ZERO, 
     5559                .block_erasers  = 
     5560                { 
     5561                        { 
     5562                                .eraseblocks = { {4 * 1024, 128} }, 
     5563                                .block_erase = spi_block_erase_20, 
     5564                        }, { 
     5565                                .eraseblocks = { {32 * 1024, 16} }, 
     5566                                .block_erase = spi_block_erase_52, 
     5567                        }, { 
     5568                                .eraseblocks = { {512 * 1024, 1} }, 
     5569                                .block_erase = spi_block_erase_60, 
     5570                        }, 
     5571                }, 
     5572                .unlock         = spi_disable_blockprotect, 
     5573                .write          = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ 
     5574                .read           = spi_chip_read, 
     5575                .voltage        = {3000, 3600}, 
     5576        }, 
     5577 
     5578        { 
     5579                .vendor         = "SST", 
     5580                .name           = "SST25LF080A", 
     5581                .bustype        = BUS_SPI, 
     5582                .manufacture_id = SST_ID, 
     5583                .model_id       = SST_SST25VF080_REMS, 
     5584                .total_size     = 1024, 
     5585                .page_size      = 256, 
     5586                .tested         = TEST_UNTESTED, 
     5587                .probe          = probe_spi_res2, 
     5588                .probe_timing   = TIMING_ZERO, 
     5589                .block_erasers  = 
     5590                { 
     5591                        { 
     5592                                .eraseblocks = { {4 * 1024, 256} }, 
     5593                                .block_erase = spi_block_erase_20, 
     5594                        }, { 
     5595                                .eraseblocks = { {32 * 1024, 32} }, 
     5596                                .block_erase = spi_block_erase_52, 
     5597                        }, { 
     5598                                .eraseblocks = { {1024 * 1024, 1} }, 
     5599                                .block_erase = spi_block_erase_60, 
     5600                        }, 
     5601                }, 
     5602                .unlock         = spi_disable_blockprotect, 
     5603                .write          = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ 
     5604                .read           = spi_chip_read, 
     5605                .voltage        = {3000, 3600}, 
     5606        }, 
     5607 
     5608        { 
     5609                .vendor         = "SST", 
    55505610                .name           = "SST25VF010.REMS", 
    55515611                .bustype        = BUS_SPI, 
     
    57485808                .read           = spi_chip_read, 
    57495809                .voltage        = {2700, 3600}, 
    5750         }, 
    5751  
    5752         { 
    5753                 .vendor         = "SST", 
    5754                 .name           = "SST25LF040A.RES", 
    5755                 .bustype        = BUS_SPI, 
    5756                 .manufacture_id = SST_ID, 
    5757                 .model_id       = SST_SST25VF040_REMS, 
    5758                 .total_size     = 512, 
    5759                 .page_size      = 256, 
    5760                 .tested         = TEST_OK_PROBE, 
    5761                 .probe          = probe_spi_res2, 
    5762                 .probe_timing   = TIMING_ZERO, 
    5763                 .block_erasers  = 
    5764                 { 
    5765                         { 
    5766                                 .eraseblocks = { {4 * 1024, 128} }, 
    5767                                 .block_erase = spi_block_erase_20, 
    5768                         }, { 
    5769                                 .eraseblocks = { {32 * 1024, 16} }, 
    5770                                 .block_erase = spi_block_erase_52, 
    5771                         }, { 
    5772                                 .eraseblocks = { {512 * 1024, 1} }, 
    5773                                 .block_erase = spi_block_erase_60, 
    5774                         }, 
    5775                 }, 
    5776                 .unlock         = spi_disable_blockprotect, 
    5777                 .write          = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ 
    5778                 .read           = spi_chip_read, 
    5779                 .voltage        = {3000, 3600}, 
    57805810        }, 
    57815811 
Note: See TracChangeset for help on using the changeset viewer.