summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-09-06 17:37:16 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-09-06 17:37:16 +0000
commitd932fd0d8cad0c185b7167e44512c9d1f10af52f (patch)
tree070c16eeb4eb0be3482b07e715c54a5ad9356251 /flashchips.c
parentc81900005f096edb9ebb841c4e2787d09b7f2da4 (diff)
downloadast2050-flashrom-d932fd0d8cad0c185b7167e44512c9d1f10af52f.zip
ast2050-flashrom-d932fd0d8cad0c185b7167e44512c9d1f10af52f.tar.gz
Add support for Eon EN25F64
Its ID was spotted in an ICH descriptor region update by Jetway: http://paste.flashrom.org/view.php?id=1217 and is used on ASUS P8B75-V boards according to some forum posts (2 chips per board actually). No datasheet was found, so most values are just guessed from the EN25F32. Corresponding to flashrom svn r1594. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 8fe50bd..a3f0520 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3407,6 +3407,40 @@ const struct flashchip flashchips[] = {
{
.vendor = "Eon",
+ .name = "EN25F64",
+ .bustype = BUS_SPI,
+ .manufacture_id = EON_ID_NOPREFIX,
+ .model_id = EON_EN25F32,
+ .total_size = 8192,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 2048} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {64 * 1024, 128} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {8 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {8 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Eon",
.name = "EN25Q40",
.bustype = BUS_SPI,
.manufacture_id = EON_ID_NOPREFIX,
OpenPOWER on IntegriCloud