summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ericsson.com>2012-04-14 21:04:03 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2012-04-14 21:04:03 +0000
commitae4294fa000be2484e74f4d863348890bc1d1736 (patch)
treeb540ef37e2b1b127b2e5a7c83b3bb1cc67b031de /flashchips.c
parent8868db37b7f9d7408161cc55bd6566f338762cb0 (diff)
downloadast2050-flashrom-ae4294fa000be2484e74f4d863348890bc1d1736.zip
ast2050-flashrom-ae4294fa000be2484e74f4d863348890bc1d1736.tar.gz
Add support for the Numonyx N25Q064 chip
All operations were successfully tested. http://www.flashrom.org/pipermail/flashrom/2012-April/009048.html Corresponding to flashrom svn r1518. Signed-off-by: Niklas Söderlund <niklas.soderlund@ericsson.com> Acked-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index b6296c5..114bcf2 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -5010,6 +5010,35 @@ const struct flashchip flashchips[] = {
},
{
+ .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,
OpenPOWER on IntegriCloud