[flashrom] [commit] r1518 - trunk
repository service
svn at flashrom.org
Sat Apr 14 23:04:03 CEST 2012
Author: uwe
Date: Sat Apr 14 23:04:03 2012
New Revision: 1518
URL: http://flashrom.org/trac/flashrom/changeset/1518
Log:
Add support for the Numonyx N25Q064 chip.
All operations were successfully tested.
http://www.flashrom.org/pipermail/flashrom/2012-April/009048.html
Signed-off-by: Niklas Söderlund <niklas.soderlund at ericsson.com>
Acked-by: Idwer Vollering <vidwer at gmail.com>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified:
trunk/flashchips.c
trunk/flashchips.h
Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c Tue Mar 13 01:18:19 2012 (r1517)
+++ trunk/flashchips.c Sat Apr 14 23:04:03 2012 (r1518)
@@ -5010,6 +5010,35 @@
},
{
+ .vendor = "Numonyx",
+ .name = "N25Q064",
+ .bustype = BUS_SPI,
+ .manufacture_id = ST_ID,
+ .model_id = ST_N25Q064,
+ .total_size = 8192,
+ .page_size = 256,
+ .tested = TEST_OK_PREW,
+ .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_c7,
+ }
+ },
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ },
+
+ {
.vendor = "PMC",
.name = "Pm25LV010",
.bustype = BUS_SPI,
Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h Tue Mar 13 01:18:19 2012 (r1517)
+++ trunk/flashchips.h Sat Apr 14 23:04:03 2012 (r1518)
@@ -574,6 +574,7 @@
#define ST_M29W010B 0x23
#define ST_M29W040B 0xE3
#define ST_M29W512B 0x27
+#define ST_N25Q064 0xBA17
#define SYNCMOS_MVC_ID 0x40 /* SyncMOS (SM) and Mosel Vitelic Corporation (MVC) */
#define MVC_V29C51000T 0x00
More information about the flashrom
mailing list