From 2f1b36fb35873c599442e1828756c1993524cd5e Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sun, 12 Jul 2009 12:06:18 +0000 Subject: Convert SPI byte program to use the multicommand infrastructure Tested-by: Jakob Bornecrantz Corresponding to flashrom svn r651. Signed-off-by: Carl-Daniel Hailfinger Tested it on Epia-m700 worked okay. Acked-by: Jakob Bornecrantz --- ft2232_spi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ft2232_spi.c') diff --git a/ft2232_spi.c b/ft2232_spi.c index ea7a810..8e6e836 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -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 -- cgit v1.1