From ca812d40d461e70a70df6079978e96642775e7b2 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Wed, 14 Jul 2010 19:57:52 +0000 Subject: 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 Acked-by: Michael Karcher --- flash.h | 1 - 1 file changed, 1 deletion(-) (limited to 'flash.h') 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); -- cgit v1.2.3