mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
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>
This commit is contained in:
1
flash.h
1
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);
|
||||
|
Reference in New Issue
Block a user