summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-10-29 22:13:20 +0000
committerStefan Reinauer <stepan@openbios.org>2008-10-29 22:13:20 +0000
commita69d1db50408053c3766d65c54fd266afd77a158 (patch)
treeed0948e85868504f9ea91536ef2bc5bd02a45ca3 /util/flashrom/flash.h
parentc6bb6be6d27f95851cf6b7cbb67ddbd1ee5c8c5d (diff)
downloadcoreboot-a69d1db50408053c3766d65c54fd266afd77a158.tar.xz
Flashrom support for some Numonyx parts (M25PE)
using block erase d8 as discussed with Peter Stuge Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3707 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r--util/flashrom/flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index bce4844801..0812331f60 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/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();