diff options
author | Andrew Ip <aip@cwlinux.com> | 2002-10-16 06:58:05 +0000 |
---|---|---|
committer | Andrew Ip <aip@cwlinux.com> | 2002-10-16 06:58:05 +0000 |
commit | f0126ce251a047443352f11e07a46f2cdabe2713 (patch) | |
tree | 727b4729649c87a7fc4d6975283985f4afc9f6f2 /flash.h | |
parent | 56439427500146bf125b081406275be55fa5d9e3 (diff) | |
download | ast2050-flashrom-f0126ce251a047443352f11e07a46f2cdabe2713.zip ast2050-flashrom-f0126ce251a047443352f11e07a46f2cdabe2713.tar.gz |
Add w49f002u support
Corresponding to coreboot v1 svn r643.
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -34,6 +34,7 @@ struct flashchip { #define WINBOND_ID 0xDA /* Winbond Manufacture ID code */ #define W_29C020C 0x45 /* Winbond w29c020c device code*/ +#define W_49F002U 0x0B /* Winbond w29c020c device code*/ #define ST_ID 0x20 #define ST_M29F400BT 0xD5 @@ -53,3 +54,7 @@ extern int write_29f040b (struct flashchip * flash, char * buf); extern int probe_29f002 (struct flashchip * flash); extern int erase_29f002 (struct flashchip * flash); extern int write_29f002 (struct flashchip * flash, char * buf); + +extern int probe_49f002 (struct flashchip * flash); +extern int erase_49f002 (struct flashchip * flash); +extern int write_49f002 (struct flashchip * flash, char * buf); |