summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorStephan Guilloux <stephan.guilloux@free.fr>2010-09-13 19:59:28 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-09-13 19:59:28 +0000
commit3611b80b40efa3e5057232a9e7285b4868ef95e1 (patch)
tree5931fc3f5b8b2089a476cc7bd82bf0f4ef86a095 /flashchips.c
parentfb60cec40223da20a01accf4d352e66075307497 (diff)
downloadast2050-flashrom-3611b80b40efa3e5057232a9e7285b4868ef95e1.zip
ast2050-flashrom-3611b80b40efa3e5057232a9e7285b4868ef95e1.tar.gz
Add support for the Macronix MX251635E chip
Corresponding to flashrom svn r1162. Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index c9cae79..a4a999e 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3623,6 +3623,39 @@ struct flashchip flashchips[] = {
{
.vendor = "Macronix",
+ .name = "MX25L1635E",
+ .bustype = CHIP_BUSTYPE_SPI,
+ .manufacture_id = MX_ID,
+ .model_id = MX_25L1635E,
+ .total_size = 2048,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 512} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {64 * 1024, 32} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {2 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {2 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ },
+
+ {
+ .vendor = "Macronix",
.name = "MX25L3205",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = MX_ID,
OpenPOWER on IntegriCloud