diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-11-23 21:28:16 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-11-23 21:28:16 +0000 |
commit | cdffae09ca39e50b0b807774b86c7e0c2fb3413c (patch) | |
tree | 25a7b11b90f5f98c0638387d606c6680d0f71e5c /spi.c | |
parent | 8528591054de4681c128ecf385952f40474df5f0 (diff) | |
download | flashrom-cdffae09ca39e50b0b807774b86c7e0c2fb3413c.tar.gz |
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.
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>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1235 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |