summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-10-29 22:13:20 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2008-10-29 22:13:20 +0000
commit424ed22ee975e80a61e2c3222dda757c39ebdf24 (patch)
tree604ec97701af76c957c5b8eef17adab3bc95a02f /flash.h
parentb759db2cb510c3dc0a33bfdf8d9f757de500c664 (diff)
downloadast2050-flashrom-424ed22ee975e80a61e2c3222dda757c39ebdf24.zip
ast2050-flashrom-424ed22ee975e80a61e2c3222dda757c39ebdf24.tar.gz
Flashrom support for some Numonyx parts (M25PE)
Using block erase d8 as discussed with Peter Stuge Corresponding to flashrom svn r333 and coreboot v2 svn r3707. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
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 bce4844..0812331 100644
--- a/flash.h
+++ b/flash.h
@@ -424,6 +424,7 @@ int spi_command(unsigned int writecnt, unsigned int readcnt,
void spi_write_enable();
void spi_write_disable();
int spi_chip_erase_c7(struct flashchip *flash);
+int spi_chip_erase_d8(struct flashchip *flash);
int spi_chip_write(struct flashchip *flash, uint8_t *buf);
int spi_chip_read(struct flashchip *flash, uint8_t *buf);
uint8_t spi_read_status_register();
OpenPOWER on IntegriCloud