diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-26 03:37:40 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 03:37:40 +0000 |
commit | c800eeb39bda2dbc33187af81d75651b1a9adf14 (patch) | |
tree | dfb452628ecba9300c05ab15ac68fb3a86c48652 /util/flashrom/flash.h | |
parent | 9ee44151cc9b0db006ba23999652e592e88d4708 (diff) |
flashrom: SST25VF040B using 0x90 identification and AAI write.
SST AAI is Auto Address Increment writing, a streamed write to the flash chip
where the first write command sets a starting address and following commands
simply append data. Unfortunately not supported by Winbond SPI masters.
From July 2008.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3913 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r-- | util/flashrom/flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 0099b1484c..c74bacb399 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -523,6 +523,7 @@ uint8_t spi_read_status_register(); int spi_disable_blockprotect(void); void spi_byte_program(int address, uint8_t byte); int spi_nbyte_read(int address, uint8_t *bytes, int len); +int spi_aai_write(struct flashchip *flash, uint8_t *buf); /* 82802ab.c */ int probe_82802ab(struct flashchip *flash); |