On 1/19/2010 12:13 PM, Sean Nelson wrote:
Fix SyncMOS S29C51004T, which has 512 Uniform 1k sectors.
Patch with more lines of context.
Signed-off-by: Sean Nelson <[email protected]>

diff --git a/flashchips.c b/flashchips.c
index 68f2b9b..359bf4e 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -5001,27 +5001,27 @@ struct flashchip flashchips[] = {
                .name           = "S29C51004T",
                .bustype        = CHIP_BUSTYPE_PARALLEL,
                .manufacture_id = SYNCMOS_ID,
                .model_id       = S29C51004T,
                .total_size     = 512,
                .page_size      = 128,
                .tested         = TEST_UNTESTED,
                .probe          = probe_jedec,
                .probe_timing   = TIMING_ZERO,
                .erase          = NULL,
                .block_erasers  =
                {
                        {
-                               .eraseblocks = { {1 * 1024, 496} },
+                               .eraseblocks = { {1 * 1024, 512} },
                                .block_erase = erase_sector_jedec,
                        }, {
                                .eraseblocks = { {512 * 1024, 1} },
                                .block_erase = erase_chip_block_jedec,
                        },
                },
                .write          = write_49f002,
                .read           = read_memmapped,
        },
 
        {
                .vendor         = "TI",
                .name           = "TMS29F002RB",
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to