diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-14 21:53:26 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-14 21:53:26 +0000 |
commit | f983d9ffeab2f2b39244271faa1d64820b3175fa (patch) | |
tree | ca64984906c95037c90a8406066868fd2455e32c /flash.h | |
parent | 38a059d6ef1ebb7145a04825fec0ebef1d8a66a7 (diff) | |
download | ast2050-flashrom-f983d9ffeab2f2b39244271faa1d64820b3175fa.zip ast2050-flashrom-f983d9ffeab2f2b39244271faa1d64820b3175fa.tar.gz |
Add support for the PMC Pm29F002T/B chips
I sucessfully tested all operations on a Pm29F002T chip. The Pm29F002B is
untested but I assume it should also work.
Corresponding to flashrom svn r590.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -453,6 +453,8 @@ extern const struct board_info boards_bad[]; #define PMC_25LV040 0x7E #define PMC_25LV080B 0x13 #define PMC_25LV016B 0x14 +#define PMC_29F002T 0x1D +#define PMC_29F002B 0x2D #define PMC_39LV512 0x1B #define PMC_39F010 0x1C /* also Pm39LV010 */ #define PMC_39LV020 0x3D @@ -783,6 +785,9 @@ int probe_29f040b(struct flashchip *flash); int erase_29f040b(struct flashchip *flash); int write_29f040b(struct flashchip *flash, uint8_t *buf); +/* pm29f002.c */ +int write_pm29f002(struct flashchip *flash, uint8_t *buf); + /* en29f002a.c */ int probe_en29f002a(struct flashchip *flash); int erase_en29f002a(struct flashchip *flash); |