Convert SPI chips to partial write
However, wrap the write functions in a compat layer to allow converting
the rest of flashrom later. Tested on Intel NM10 by David Hendricks.
Corresponding to flashrom svn r1080.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
diff --git a/flashchips.c b/flashchips.c
index 32caee0..5954eb2 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -1423,7 +1423,7 @@
.block_erase = spi_block_erase_c7,
}
},
- .write = spi_aai_write,
+ .write = spi_chip_write_1,
.read = spi_chip_read,
},