diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-09-06 17:37:16 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-09-06 17:37:16 +0000 |
commit | d932fd0d8cad0c185b7167e44512c9d1f10af52f (patch) | |
tree | 070c16eeb4eb0be3482b07e715c54a5ad9356251 | |
parent | c81900005f096edb9ebb841c4e2787d09b7f2da4 (diff) | |
download | flashrom-d932fd0d8cad0c185b7167e44512c9d1f10af52f.tar.gz flashrom-d932fd0d8cad0c185b7167e44512c9d1f10af52f.tar.bz2 flashrom-d932fd0d8cad0c185b7167e44512c9d1f10af52f.zip |
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>
-rw-r--r-- | flashchips.c | 34 | ||||
-rw-r--r-- | flashchips.h | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c index 8fe50bd1..a3f0520a 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, diff --git a/flashchips.h b/flashchips.h index 0fe2cc49..b3125875 100644 --- a/flashchips.h +++ b/flashchips.h @@ -248,6 +248,7 @@ #define EON_EN25F80 0x3114 #define EON_EN25F16 0x3115 #define EON_EN25F32 0x3116 +#define EON_EN25F64 0x3117 /* guessed */ #define EON_EN25Q40 0x3013 #define EON_EN25Q80 0x3014 #define EON_EN25Q16 0x3015 /* Same as EN25D16 */ |