summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2002-05-28 23:29:17 +0000
committerRonald G. Minnich <rminnich@gmail.com>2002-05-28 23:29:17 +0000
commit3c910ed8075f20cb2e6c6e919e4b4cbcdfed8b9f (patch)
treee106fdf52d25899532b5ea1c26b38b28815659ea /flash.h
parent1e5003fdeb83baddfd4284fda60fa8e612f7d90f (diff)
downloadast2050-flashrom-3c910ed8075f20cb2e6c6e919e4b4cbcdfed8b9f.zip
ast2050-flashrom-3c910ed8075f20cb2e6c6e919e4b4cbcdfed8b9f.tar.gz
Add support for ST M29F400BT - part 1
Corresponding to coreboot v1 svn r582.
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 2e1f600..286e219 100644
--- a/flash.h
+++ b/flash.h
@@ -32,6 +32,9 @@ struct flashchip {
#define WINBOND_ID 0xDA /* Winbond Manufacture ID code */
#define W_29C020C 0x45 /* Winbond w29c020c device code*/
+#define ST_ID 0x20
+#define ST_M29F400BT 0xD5
+
extern int probe_28sf040 (struct flashchip * flash);
extern int erase_28sf040 (struct flashchip * flash);
extern int write_28sf040 (struct flashchip * flash, char * buf);
OpenPOWER on IntegriCloud