summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2002-03-21 22:40:40 +0000
committerRonald G. Minnich <rminnich@gmail.com>2002-03-21 22:40:40 +0000
commitc831647b17e4d657765669aa2909777fc3552dec (patch)
tree3bec547cedde3d6d49fa5ac7f95c96032ad063c2 /flash.h
parentef5779d1ddee6b83dfe04ff343e4b7d290fd24d7 (diff)
downloadast2050-flashrom-c831647b17e4d657765669aa2909777fc3552dec.zip
ast2050-flashrom-c831647b17e4d657765669aa2909777fc3552dec.tar.gz
Add support for 39sf020
Corresponding to coreboot v1 svn r523.
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 1828176..2e1f600 100644
--- a/flash.h
+++ b/flash.h
@@ -27,6 +27,7 @@ struct flashchip {
#define SST_ID 0xBF /* SST Manufacturer ID[B code */
#define SST_29EE020A 0x10 /* SST 29EE020 device code */
#define SST_28SF040 0x04 /* SST 29EE040 device code */
+#define SST_39SF020 0xB6 /* SST 39SF020 device */
#define WINBOND_ID 0xDA /* Winbond Manufacture ID code */
#define W_29C020C 0x45 /* Winbond w29c020c device code*/
@@ -35,6 +36,10 @@ extern int probe_28sf040 (struct flashchip * flash);
extern int erase_28sf040 (struct flashchip * flash);
extern int write_28sf040 (struct flashchip * flash, char * buf);
+extern int probe_39sf020 (struct flashchip * flash);
+extern int erase_39sf020 (struct flashchip * flash);
+extern int write_39sf020 (struct flashchip * flash, char * buf);
+
extern int probe_29f040b (struct flashchip * flash);
extern int erase_29f040b (struct flashchip * flash);
extern int write_29f040b (struct flashchip * flash, char * buf);
OpenPOWER on IntegriCloud