diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-07-12 12:06:18 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-07-12 12:06:18 +0000 |
commit | 2f1b36fb35873c599442e1828756c1993524cd5e (patch) | |
tree | 836e46a0ba0fcd1ce41a52eddcb3437c2d08e2e5 /ft2232_spi.c | |
parent | 39fa9b55cd4c049f43124b873b464641fc9f79a9 (diff) | |
download | ast2050-flashrom-2f1b36fb35873c599442e1828756c1993524cd5e.zip ast2050-flashrom-2f1b36fb35873c599442e1828756c1993524cd5e.tar.gz |
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>
Diffstat (limited to 'ft2232_spi.c')
-rw-r--r-- | ft2232_spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |