mtd: m25p80: Add support for Micron N25Q512A memory

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Nov 13 13:59:04 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=867f770de8127d2e1dd730ce60608dfdac08d863
Commit:     867f770de8127d2e1dd730ce60608dfdac08d863
Parent:     39ac9ca336314b39df1488087c05a8214266869c
Author:     Priyanka Jain <Priyanka.Jain at freescale.com>
AuthorDate: Tue Oct 15 11:09:05 2013 +0530
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Nov 6 23:32:53 2013 -0800

    mtd: m25p80: Add support for Micron N25Q512A memory
    
    Micron N25Q512A is a spi flash memory with following features:
    -64MB size, 1.8V, Mulitple I/O, 4KB Sector erase memory.
    -Memory is organised as 1024(64KB) main sectors.
    -Each sector is divided into 256 pages.
    -Register set/Opcodes are similar to other N25Q family products.
    
    Signed-off-by: Priyanka Jain <Priyanka.Jain at freescale.com>
    Acked-by: Marek Vasut <marex at denx.de>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/devices/m25p80.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index fbc8e73..8d6c87be 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -790,6 +790,7 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024, 256, 0) },
 	{ "n25q128a13",  INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
 	{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
+	{ "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K) },
 
 	/* PMC */
 	{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },



More information about the linux-mtd-cvs mailing list