diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-01 18:39:28 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-01 18:39:28 +0000 |
commit | 423b1b1bb050daae6e3f45c1b76829f8385e3b04 (patch) | |
tree | 45f76b8ab69e878eb6092b2940741c2d140f76ff /flashchips.c | |
parent | 83fe90850a39d33d051df2e25ad03c611944b657 (diff) | |
download | flashrom-423b1b1bb050daae6e3f45c1b76829f8385e3b04.zip flashrom-423b1b1bb050daae6e3f45c1b76829f8385e3b04.tar.gz |
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@gmail.com>
Write time (w/erase) went from 46 s to 21 s.
SST25VF016B
Binary file (standard input) matches
Corresponding to flashrom svn r1402.
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/flashchips.c b/flashchips.c index a040e8c..1a5622f 100644 --- a/flashchips.c +++ b/flashchips.c @@ -5606,7 +5606,7 @@ const struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_aai_write, .read = spi_chip_read, .voltage = {2700, 3600}, }, @@ -5708,7 +5708,7 @@ const struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ .read = spi_chip_read, .voltage = {2700, 3600}, }, @@ -5744,7 +5744,7 @@ const struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_aai_write, .read = spi_chip_read, .voltage = {2700, 3600}, }, @@ -5774,7 +5774,7 @@ const struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */ .read = spi_chip_read, .voltage = {3000, 3600}, }, @@ -5810,7 +5810,7 @@ const struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_aai_write, .read = spi_chip_read, .voltage = {2700, 3600}, }, @@ -5846,7 +5846,7 @@ const struct flashchip flashchips[] = { }, }, .unlock = spi_disable_blockprotect, - .write = spi_chip_write_1, + .write = spi_aai_write, .read = spi_chip_read, .voltage = {2700, 3600}, }, |