summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-26 03:37:40 +0000
committerPeter Stuge <peter@stuge.se>2009-01-26 03:37:40 +0000
commitfd9217db8e90018a9e4d9f35d2c3cd4f09b32b84 (patch)
tree0104bf1bd4672feb0ac715f13b6f1372ed3467d7 /flash.h
parent5fecee462f6b070dded68cd775b8d1191cb71ee4 (diff)
downloadast2050-flashrom-fd9217db8e90018a9e4d9f35d2c3cd4f09b32b84.zip
ast2050-flashrom-fd9217db8e90018a9e4d9f35d2c3cd4f09b32b84.tar.gz
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. Corresponding to flashrom svn r407 and coreboot v2 svn r3913. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 0099b14..c74bacb 100644
--- a/flash.h
+++ b/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);
OpenPOWER on IntegriCloud