1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

Add chunked write ability to the Dediprog SF100 driver

Please note that the write speedup only applies to chips which have SPI
page write (i.e. chips using spi_chip_write_256).

This is a quick fix for write speed until I get around to implementing
full bulk SPI write support.

Corresponding to flashrom svn r1235.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Richard A. Smith  <richard@laptop.org>
Acked-by: Mathias Krause <mathias.krause@secunet.com>
This commit is contained in:
Carl-Daniel Hailfinger
2010-11-23 21:28:16 +00:00
parent 482e97443d
commit 306b81875d
3 changed files with 9 additions and 2 deletions

2
spi.c
View File

@ -124,7 +124,7 @@ const struct spi_programmer spi_programmer[] = {
.command = dediprog_spi_send_command,
.multicommand = default_spi_send_multicommand,
.read = dediprog_spi_read,
.write_256 = spi_chip_write_1,
.write_256 = dediprog_spi_write_256,
},
#endif