summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorPriyanka Jain <Priyanka.Jain@freescale.com>2014-04-02 11:14:49 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-04-03 00:10:37 (GMT)
commite2d0d92f7a4b7d8b74ca9acd4527414f6bf2b41f (patch)
treef3815ffd682a8a834e94bb8b9301f4fecb9f4b91 /drivers/mtd
parentd11f2acd39139b756c761bd7bca1318bfee678f3 (diff)
downloadlinux-fsl-qoriq-e2d0d92f7a4b7d8b74ca9acd4527414f6bf2b41f.tar.xz
mtd:m25p80: Add device-id entry for Micron N25Q512A memory
Add device-id entry for N25Q512A in device_id structure. Flash has 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 -Device ID: 20ba20 Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Change-Id: Ifd191e1f2b0fb94ad7f37ff08dbf60f8e1617991 Reviewed-on: http://git.am.freescale.net:8181/10594 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/devices/m25p80.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index f5d7a0c..54176dd 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -784,6 +784,7 @@ static const struct spi_device_id m25p_ids[] = {
{ "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) },
+ { "n25q512a", INFO(0x20ba20, 0, 64 * 1024, 1024, SECT_4K) },
/* PMC */
{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },