summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-09 02:34:18 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-09 02:34:18 +0000
commit8d49701bcbd9f86e9283ef8df3082c78afddbbab (patch)
treebff8ea2cca76035ede0f64fffa600cc0e3e1c0df /spi.c
parent96930c39524225cc55a5625e6e45d7519b3f2528 (diff)
downloadflashrom-8d49701bcbd9f86e9283ef8df3082c78afddbbab.tar.gz
flashrom-8d49701bcbd9f86e9283ef8df3082c78afddbbab.tar.bz2
flashrom-8d49701bcbd9f86e9283ef8df3082c78afddbbab.zip
Convert all flashchips.c entries with SPI programing to the 256-byte version by default
Change the flashchips entry for SST SST25VF080B to 1-byte writing. Tested-by: Ali Nadalizadeh. Corresponding to flashrom svn r486. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'spi.c')
-rw-r--r--spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spi.c b/spi.c
index 488850468..0bc7ee72b 100644
--- a/spi.c
+++ b/spi.c
@@ -644,7 +644,7 @@ int spi_chip_write_1(struct flashchip *flash, uint8_t *buf)
* Program chip using page (256 bytes) programming.
* Some SPI masters can't do this, they use single byte programming instead.
*/
-int spi_chip_write(struct flashchip *flash, uint8_t *buf)
+int spi_chip_write_256(struct flashchip *flash, uint8_t *buf)
{
switch (flashbus) {
case BUS_TYPE_IT87XX_SPI: