From 8d49701bcbd9f86e9283ef8df3082c78afddbbab Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 9 May 2009 02:34:18 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger --- spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spi.c') diff --git a/spi.c b/spi.c index 4888504..0bc7ee7 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: -- cgit v1.1