From f983d9ffeab2f2b39244271faa1d64820b3175fa Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 14 Jun 2009 21:53:26 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger --- flash.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 1b798af..ac0a837 100644 --- a/flash.h +++ b/flash.h @@ -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); -- cgit v1.1