summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
authorClaus Gindhart <claus.gindhart@kontron.com>2008-04-28 17:51:09 +0000
committerStefan Reinauer <stepan@openbios.org>2008-04-28 17:51:09 +0000
commitb19973eb8b39a5267790e2458bab3ef3180ae06a (patch)
tree7b6fb380931cb7861b9a6e07db2c8683e55470df /util/flashrom/flash.h
parent26e08b5abea3d7b6806ed5727b93257e7ed98bf2 (diff)
The generic jedec.c does not work for the ST M50FLW flash
devices, because they need an unlock command first. For this reason, ST M50FLW support is moved to a new HW support module, because any change in jedec.c would bear the risk to cause problems with the already supported devices. It's already tested with ST M50FLW080A; the other chips of this family i dont have available, so i couldnt test it. Signed-off-by: Claus Gindhart <claus.gindhart@kontron.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3274 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r--util/flashrom/flash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 930bf6dba9..3c072107e4 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -427,4 +427,8 @@ int probe_w29ee011(struct flashchip *flash);
/* w49f002u.c */
int write_49f002(struct flashchip *flash, uint8_t *buf);
+/* stm50flw0x0x.c */
+int probe_stm50flw0x0x(struct flashchip *flash);
+int erase_stm50flw0x0x(struct flashchip *flash);
+int write_stm50flw0x0x(struct flashchip *flash, uint8_t *buf);
#endif /* !__FLASH_H__ */