From 92d7c6e86e089438e7f9c0eed5ee3bcea4bfb1b8 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 88df409..2bf4462 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.1