From 1db7a448b37f1f699bd9a64d2187f3883e0f4503 Mon Sep 17 00:00:00 2001 From: Helge Wagner Date: Tue, 5 Oct 2010 22:29:08 +0000 Subject: Massive speedups for SST25VF032B and SST25VF064C Use AAI write for SST SST25VF032B. Speedup from 228 to 113 seconds. Use page (256 byte) write for SST SST25VF064C. Speedup from 3091 to 123 seconds. Corresponding to flashrom svn r1194. Signed-off-by: Helge Wagner Acked-by: Carl-Daniel Hailfinger --- flashchips.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'flashchips.c') diff --git a/flashchips.c b/flashchips.c index 2b1af0b3b..c0280b3ac 100644 --- a/flashchips.c +++ b/flashchips.c @@ -4860,7 +4860,7 @@ struct flashchip flashchips[] = { .model_id = SST_SST25VF032B, .total_size = 4096, .page_size = 256, - .tested = TEST_OK_PRW, + .tested = TEST_OK_PREW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, .block_erasers = @@ -4883,7 +4883,7 @@ struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_aai_write, .read = spi_chip_read, }, @@ -4918,7 +4918,7 @@ struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_chip_write_256, .read = spi_chip_read, }, -- cgit v1.2.3