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>
diff --git a/flashchips.c b/flashchips.c
index ccd7a21..c668a5b 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -1514,6 +1514,38 @@
{
.vendor = "PMC",
+ .name = "Pm29F0002T",
+ .bustype = CHIP_BUSTYPE_PARALLEL,
+ .manufacture_id = PMC_ID_NOPREFIX,
+ .model_id = PMC_29F002T,
+ .total_size = 256,
+ .page_size = 8192,
+ .tested = TEST_OK_PREW,
+ .probe = probe_29f040b,
+ .probe_timing = TIMING_FIXME,
+ .erase = erase_29f040b,
+ .write = write_pm29f002,
+ .read = read_memmapped,
+ },
+
+ {
+ .vendor = "PMC",
+ .name = "Pm29F0002B",
+ .bustype = CHIP_BUSTYPE_PARALLEL,
+ .manufacture_id = PMC_ID_NOPREFIX,
+ .model_id = PMC_29F002B,
+ .total_size = 256,
+ .page_size = 8192,
+ .tested = TEST_UNTESTED,
+ .probe = probe_29f040b,
+ .probe_timing = TIMING_FIXME,
+ .erase = erase_29f040b,
+ .write = write_pm29f002,
+ .read = read_memmapped,
+ },
+
+ {
+ .vendor = "PMC",
.name = "Pm39LV010",
.bustype = CHIP_BUSTYPE_NONSPI,
.manufacture_id = PMC_ID_NOPREFIX,