lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1349372416-16925-1-git-send-email-monstr@monstr.eu>
Date:	Thu,  4 Oct 2012 19:40:16 +0200
From:	Michal Simek <monstr@...str.eu>
To:	linux-kernel@...r.kernel.org
Cc:	Wendy Liang <wendy.liang@...alogix.com>,
	Michal Simek <monstr@...str.eu>,
	David Woodhouse <dwmw2@...radead.org>,
	Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>,
	Mike Frysinger <vapier@...too.org>,
	linux-mtd@...ts.infradead.org
Subject: [PATCH] mtd: m25p80: Add support for Numonyx N25Q128

From: Wendy Liang <wendy.liang@...alogix.com>

Add the id and sector mappings for SPI flash chips.

Signed-off-by: Wendy Liang <wendy.liang@...alogix.com>
Signed-off-by: Michal Simek <monstr@...str.eu>
CC: David Woodhouse <dwmw2@...radead.org>
CC: Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>
CC: Mike Frysinger <vapier@...too.org>
CC: linux-mtd@...ts.infradead.org
---
 drivers/mtd/devices/m25p80.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 5d0d68c..cad89f1 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -722,6 +722,9 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "m25px32-s1", INFO(0x206316,  0, 64 * 1024, 64, SECT_4K) },
 	{ "m25px64",    INFO(0x207117,  0, 64 * 1024, 128, 0) },
 
+	/* Numonyx -- n25q */
+	{ "n25q128",    INFO(0x20ba18,  0, 64 * 1024, 256, 0) },
+
 	/* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
 	{ "w25x10", INFO(0xef3011, 0, 64 * 1024,  2,  SECT_4K) },
 	{ "w25x20", INFO(0xef3012, 0, 64 * 1024,  4,  SECT_4K) },
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ