Adds support for the Intel E28F004S5 flash chip
Corresponding to flashrom svn r900.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
diff --git a/flashchips.c b/flashchips.c
index 14e6f7f..db67a47 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2333,6 +2333,29 @@
{
.vendor = "Intel",
+ .name = "28F004S5",
+ .bustype = CHIP_BUSTYPE_PARALLEL,
+ .manufacture_id = INTEL_ID,
+ .model_id = E_28F004S5,
+ .total_size = 512,
+ .page_size = 256,
+ .tested = TEST_UNTESTED,
+ .probe = probe_82802ab,
+ .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */
+ .erase = NULL,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 8} },
+ .block_erase = erase_82802ab_block,
+ },
+ },
+ .write = write_82802ab,
+ .read = read_memmapped,
+ },
+
+ {
+ .vendor = "Intel",
.name = "82802AB",
.bustype = CHIP_BUSTYPE_FWH,
.manufacture_id = INTEL_ID,
diff --git a/flashchips.h b/flashchips.h
index e299852..e17a273 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -254,6 +254,9 @@
#define INTEL_ID 0x89 /* Intel */
#define I_82802AB 0xAD
#define I_82802AC 0xAC
+#define E_28F004S5 0xA7
+#define E_28F008S5 0xA6
+#define E_28F016S5 0xAA
#define P28F001BXT 0x94 /* 28F001BX-T */
#define P28F001BXB 0x95 /* 28F001BX-B */
#define SHARP_LH28F008SA 0xA2 /* Sharp chip, Intel Vendor ID */