summaryrefslogtreecommitdiffstats
path: root/it85spi.c
diff options
context:
space:
mode:
authorMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2011-05-11 17:07:02 +0000
committerMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2011-05-11 17:07:02 +0000
commit627975196d0630a137548df631756e656a8139af (patch)
tree9a01302678ba2ba642040e928b89c8877c080412 /it85spi.c
parentb713d2e35c5336da81f5fbc83393961d1d8aa7bd (diff)
downloadast2050-flashrom-627975196d0630a137548df631756e656a8139af.zip
ast2050-flashrom-627975196d0630a137548df631756e656a8139af.tar.gz
Factor out SPI write/read chunking wrappers
Corresponding to flashrom svn r1298. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'it85spi.c')
-rw-r--r--it85spi.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/it85spi.c b/it85spi.c
index 1710d8e..a388d10 100644
--- a/it85spi.c
+++ b/it85spi.c
@@ -347,14 +347,4 @@ int it85xx_spi_send_command(unsigned int writecnt, unsigned int readcnt,
return 0;
}
-int it85_spi_read(struct flashchip *flash, uint8_t * buf, int start, int len)
-{
- return spi_read_chunked(flash, buf, start, len, 64);
-}
-
-int it85_spi_write_256(struct flashchip *flash, uint8_t * buf, int start, int len)
-{
- return spi_write_chunked(flash, buf, start, len, 64);
-}
-
#endif
OpenPOWER on IntegriCloud