diff options
author | Paul Fox <pgf@laptop.org> | 2009-06-12 08:10:33 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-06-12 08:10:33 +0000 |
commit | 92d7c6e86e089438e7f9c0eed5ee3bcea4bfb1b8 (patch) | |
tree | eb0158fb55f7a6df9bf09ad72166f99a7670651e /flash.h | |
parent | d96db0b7ab6a75a1e9d98634b21757fba5c8a148 (diff) | |
download | flashrom-92d7c6e86e089438e7f9c0eed5ee3bcea4bfb1b8.zip flashrom-92d7c6e86e089438e7f9c0eed5ee3bcea4bfb1b8.tar.gz |
Add spi_nbyte_program as generic function to the SPI layer
Corresponding to flashrom svn r583.
Signed-off-by: Paul Fox <pgf@laptop.org>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |