summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-14 19:57:52 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-14 19:57:52 +0000
commitca812d40d461e70a70df6079978e96642775e7b2 (patch)
tree2de588625302d190884e05aca9755f4f075ab2a4 /flash.h
parent9a795d83fbb8842a271d5e037dc983a57b0419fd (diff)
downloadflashrom-ca812d40d461e70a70df6079978e96642775e7b2.tar.gz
flashrom-ca812d40d461e70a70df6079978e96642775e7b2.tar.bz2
flashrom-ca812d40d461e70a70df6079978e96642775e7b2.zip
Use the max_rom_decode infrastructure for wbsio_spi
Use this instead of the open-coding variant that only aborts after it is too late. Corresponding to flashrom svn r1081. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index 1b82d4220..206510968 100644
--- a/flash.h
+++ b/flash.h
@@ -716,7 +716,6 @@ int wbsio_check_for_spi(void);
int wbsio_spi_send_command(unsigned int writecnt, unsigned int readcnt,
const unsigned char *writearr, unsigned char *readarr);
int wbsio_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len);
-int wbsio_spi_write_1(struct flashchip *flash, uint8_t *buf, int start, int len);
/* serprog.c */
int serprog_init(void);