Author: stefanct
Date: Mon May 14 03:51:46 2012
New Revision: 1535
URL: http://flashrom.org/trac/flashrom/changeset/1535

Log:
Add support for Eon EN25QH32.

Its ID was spotted in an descriptor region update by Jetway:
http://paste.flashrom.org/view.php?id=1217

Signed-off-by: Stefan Tauner <[email protected]>
Acked-by: Stefan Tauner <[email protected]>

Modified:
   trunk/flashchips.c
   trunk/flashchips.h

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c  Tue May  8 00:12:16 2012        (r1534)
+++ trunk/flashchips.c  Mon May 14 03:51:46 2012        (r1535)
@@ -3565,7 +3565,43 @@
                .unlock         = spi_disable_blockprotect,
                .write          = spi_chip_write_256,
                .read           = spi_chip_read,
-               .voltage        = {2700, 3600},
+               .voltage        = {2700, 3600},
+       },
+
+       {
+               .vendor         = "Eon",
+               .name           = "EN25QH32",
+               .bustype        = BUS_SPI,
+               .manufacture_id = EON_ID_NOPREFIX,
+               .model_id       = EON_EN25QH32,
+               .total_size     = 4096,
+               .page_size      = 256,
+               /* supports SFDP */
+               /* OTP: 512B total; enter 0x3A */
+               .feature_bits   = FEATURE_WRSR_WREN | FEATURE_OTP,
+               .tested         = TEST_UNTESTED,
+               .probe          = probe_spi_rdid,
+               .probe_timing   = TIMING_ZERO,
+               .block_erasers  =
+               {
+                       {
+                               .eraseblocks = { {4 * 1024, 1024} },
+                               .block_erase = spi_block_erase_20,
+                       }, {
+                               .eraseblocks = { {64 * 1024, 64} },
+                               .block_erase = spi_block_erase_d8,
+                       }, {
+                               .eraseblocks = { {1024 * 4096, 1} },
+                               .block_erase = spi_block_erase_60,
+                       }, {
+                               .eraseblocks = { {1024 * 4096, 1} },
+                               .block_erase = spi_block_erase_c7,
+                       }
+               },
+               .unlock         = spi_disable_blockprotect,
+               .write          = spi_chip_write_256,
+               .read           = spi_chip_read,
+               .voltage        = {2700, 3600},
        },
 
        {

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h  Tue May  8 00:12:16 2012        (r1534)
+++ trunk/flashchips.h  Mon May 14 03:51:46 2012        (r1535)
@@ -252,6 +252,7 @@
 #define EON_EN25Q64            0x3017
 #define EON_EN25Q128           0x3018
 #define EON_EN25QH16           0x7015
+#define EON_EN25QH32           0x7016
 #define EON_EN29F512           0x7F21
 #define EON_EN29F010           0x20
 #define EON_EN29F040A          0x7F04

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to