All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: m25p80: Add support for Numonyx N25Q128
@ 2012-10-04 17:40 ` Michal Simek
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2012-10-04 17:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wendy Liang, Michal Simek, David Woodhouse, Artem Bityutskiy,
	Mike Frysinger, linux-mtd

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

Add the id and sector mappings for SPI flash chips.

Signed-off-by: Wendy Liang <wendy.liang@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
CC: David Woodhouse <dwmw2@infradead.org>
CC: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
CC: Mike Frysinger <vapier@gentoo.org>
CC: linux-mtd@lists.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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] mtd: m25p80: Add support for Numonyx N25Q128
@ 2012-10-04 17:40 ` Michal Simek
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2012-10-04 17:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michal Simek, Mike Frysinger, Artem Bityutskiy, Wendy Liang,
	linux-mtd, David Woodhouse

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

Add the id and sector mappings for SPI flash chips.

Signed-off-by: Wendy Liang <wendy.liang@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
CC: David Woodhouse <dwmw2@infradead.org>
CC: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
CC: Mike Frysinger <vapier@gentoo.org>
CC: linux-mtd@lists.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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] mtd: m25p80: Add support for Numonyx N25Q128
  2012-10-04 17:40 ` Michal Simek
@ 2012-10-05  7:50   ` Jan Lübbe
  -1 siblings, 0 replies; 6+ messages in thread
From: Jan Lübbe @ 2012-10-05  7:50 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, Mike Frysinger, Artem Bityutskiy, Wendy Liang,
	linux-mtd, David Woodhouse

On Thu, 2012-10-04 at 19:40 +0200, Michal Simek wrote:
> From: Wendy Liang <wendy.liang@petalogix.com>
> 
> Add the id and sector mappings for SPI flash chips.

An equivalent patch is already in David Woodhouse's l2-mtd tree:
http://git.infradead.org/users/dedekind/l2-mtd.git/commitdiff/3105875f6b8902628caee2fd7821af43707c6bde

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mtd: m25p80: Add support for Numonyx N25Q128
@ 2012-10-05  7:50   ` Jan Lübbe
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Lübbe @ 2012-10-05  7:50 UTC (permalink / raw)
  To: Michal Simek
  Cc: Mike Frysinger, Artem Bityutskiy, linux-kernel, Wendy Liang,
	linux-mtd, David Woodhouse

On Thu, 2012-10-04 at 19:40 +0200, Michal Simek wrote:
> From: Wendy Liang <wendy.liang@petalogix.com>
> 
> Add the id and sector mappings for SPI flash chips.

An equivalent patch is already in David Woodhouse's l2-mtd tree:
http://git.infradead.org/users/dedekind/l2-mtd.git/commitdiff/3105875f6b8902628caee2fd7821af43707c6bde

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mtd: m25p80: Add support for Numonyx N25Q128
  2012-10-05  7:50   ` Jan Lübbe
@ 2012-10-05  9:58     ` Michal Simek
  -1 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2012-10-05  9:58 UTC (permalink / raw)
  To: Jan Lübbe
  Cc: linux-kernel, Mike Frysinger, Artem Bityutskiy, Wendy Liang,
	linux-mtd, David Woodhouse

On 10/05/2012 09:50 AM, Jan Lübbe wrote:
> On Thu, 2012-10-04 at 19:40 +0200, Michal Simek wrote:
>> From: Wendy Liang <wendy.liang@petalogix.com>
>>
>> Add the id and sector mappings for SPI flash chips.
>
> An equivalent patch is already in David Woodhouse's l2-mtd tree:
> http://git.infradead.org/users/dedekind/l2-mtd.git/commitdiff/3105875f6b8902628caee2fd7821af43707c6bde

Great thanks.
Michal


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] mtd: m25p80: Add support for Numonyx N25Q128
@ 2012-10-05  9:58     ` Michal Simek
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2012-10-05  9:58 UTC (permalink / raw)
  To: Jan Lübbe
  Cc: Mike Frysinger, Artem Bityutskiy, linux-kernel, Wendy Liang,
	linux-mtd, David Woodhouse

On 10/05/2012 09:50 AM, Jan Lübbe wrote:
> On Thu, 2012-10-04 at 19:40 +0200, Michal Simek wrote:
>> From: Wendy Liang <wendy.liang@petalogix.com>
>>
>> Add the id and sector mappings for SPI flash chips.
>
> An equivalent patch is already in David Woodhouse's l2-mtd tree:
> http://git.infradead.org/users/dedekind/l2-mtd.git/commitdiff/3105875f6b8902628caee2fd7821af43707c6bde

Great thanks.
Michal


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-05  9:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-04 17:40 [PATCH] mtd: m25p80: Add support for Numonyx N25Q128 Michal Simek
2012-10-04 17:40 ` Michal Simek
2012-10-05  7:50 ` Jan Lübbe
2012-10-05  7:50   ` Jan Lübbe
2012-10-05  9:58   ` Michal Simek
2012-10-05  9:58     ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.