summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorClaus Gindhart <claus.gindhart@kontron.com>2008-04-28 17:51:09 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2008-04-28 17:51:09 +0000
commita7b3551bbc25219671706067a9061bf07ee1eebd (patch)
treeb8444287f2e3760ebfed678b449f0a803beb89e5 /flash.h
parentf31104cf3b63a058b63f8b9aed89c1901d5d9acd (diff)
downloadast2050-flashrom-a7b3551bbc25219671706067a9061bf07ee1eebd.zip
ast2050-flashrom-a7b3551bbc25219671706067a9061bf07ee1eebd.tar.gz
Separate ST M50FLW support from generic JEDEC code
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. Corresponding to flashrom svn r219 and coreboot v2 svn r3274. Signed-off-by: Claus Gindhart <claus.gindhart@kontron.com> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 930bf6d..3c07210 100644
--- a/flash.h
+++ b/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__ */
OpenPOWER on IntegriCloud