summaryrefslogtreecommitdiffstats
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorHelge Wagner <helge.wagner@ge.com>2010-10-05 22:29:08 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-10-05 22:29:08 +0000
commit1db7a448b37f1f699bd9a64d2187f3883e0f4503 (patch)
tree90d10ef4b79f1e9fdeb2ad9cdb165f0d04f429c7 /chipdrivers.h
parent738e252112271f63c8ad4c9a135cfe17ff98e87d (diff)
downloadast2050-flashrom-1db7a448b37f1f699bd9a64d2187f3883e0f4503.zip
ast2050-flashrom-1db7a448b37f1f699bd9a64d2187f3883e0f4503.tar.gz
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 <helge.wagner@ge.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index 119ea70..94daafc 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -63,7 +63,8 @@ int spi_nbyte_program(int addr, uint8_t *bytes, int len);
int spi_nbyte_read(int addr, uint8_t *bytes, int len);
int spi_read_chunked(struct flashchip *flash, uint8_t *buf, int start, int len, int chunksize);
int spi_write_chunked(struct flashchip *flash, uint8_t *buf, int start, int len, int chunksize);
-int spi_aai_write(struct flashchip *flash, uint8_t *buf, int start, int len);
+int spi_aai_write_new(struct flashchip *flash, uint8_t *buf, int start, int len);
+int spi_aai_write(struct flashchip *flash, uint8_t *buf);
/* 82802ab.c */
uint8_t wait_82802ab(chipaddr bios);
OpenPOWER on IntegriCloud