From eb3acef863a3313fb5de5634192f3f131c19f6c5 Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Fri, 12 Jun 2009 08:10:33 +0000 Subject: Add spi_nbyte_program as generic function to the SPI layer Corresponding to flashrom svn r583. Signed-off-by: Paul Fox Acked-by: Carl-Daniel Hailfinger --- flash.h | 1 + 1 file changed, 1 insertion(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 88df4098c..2bf4462b6 100644 --- a/flash.h +++ b/flash.h @@ -757,6 +757,7 @@ int spi_chip_read(struct flashchip *flash, uint8_t *buf); uint8_t spi_read_status_register(void); int spi_disable_blockprotect(void); void spi_byte_program(int address, uint8_t byte); +int spi_nbyte_program(int address, uint8_t *bytes, int len); int spi_nbyte_read(int address, uint8_t *bytes, int len); int spi_aai_write(struct flashchip *flash, uint8_t *buf); uint32_t spi_get_valid_read_addr(void); -- cgit v1.2.3