mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
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>
This commit is contained in:
2
spi.c
2
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:
|
||||
|
Reference in New Issue
Block a user