From 306b81875dc8c16b230f9b01f37138aa4768d116 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 23 Nov 2010 21:28:16 +0000 Subject: 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 Acked-by: Richard A. Smith Acked-by: Mathias Krause --- spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spi.c') diff --git a/spi.c b/spi.c index 1fc72d4..3df7458 100644 --- a/spi.c +++ b/spi.c @@ -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 -- cgit v1.1