mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +02:00
Convert SPI byte program to use the multicommand infrastructure
Tested-by: Jakob Bornecrantz <wallbraker@gmail.com> Corresponding to flashrom svn r651. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested it on Epia-m700 worked okay. Acked-by: Jakob Bornecrantz <wallbraker@gmail.com>
This commit is contained in:
@ -276,7 +276,6 @@ int ft2232_spi_write_256(struct flashchip *flash, uint8_t *buf)
|
||||
else
|
||||
l = total_size - i;
|
||||
|
||||
spi_write_enable();
|
||||
if ((r = spi_nbyte_program(i, &buf[i], l))) {
|
||||
fprintf(stderr, "%s: write fail %d\n", __FUNCTION__, r);
|
||||
// spi_write_disable(); chip does this for us
|
||||
|
Reference in New Issue
Block a user