Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
@ 2010-08-04 19:14 Gabor Juhos
  2010-08-04 19:14 ` [PATCH 2/3] mtd: m25p80: add support for the Intel/Numonyx {16, 32, 64}0S33B " Gabor Juhos
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gabor Juhos @ 2010-08-04 19:14 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Gabor Juhos, linux-mtd

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
 drivers/mtd/devices/m25p80.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 48bf325..21d866c 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -641,6 +641,10 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
 	{ "at26df321",  INFO(0x1f4701, 0, 64 * 1024, 64, SECT_4K) },
 
+	/* EON -- en25pxx */
+	{ "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },
+	{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+
 	/* Macronix */
 	{ "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
 	{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
-- 
1.5.3.2

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

* [PATCH 2/3] mtd: m25p80: add support for the Intel/Numonyx {16, 32, 64}0S33B SPI flash chips
  2010-08-04 19:14 [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Gabor Juhos
@ 2010-08-04 19:14 ` Gabor Juhos
  2010-08-04 19:14 ` [PATCH 3/3] mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip Gabor Juhos
  2010-08-05  6:10 ` [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Artem Bityutskiy
  2 siblings, 0 replies; 6+ messages in thread
From: Gabor Juhos @ 2010-08-04 19:14 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Gabor Juhos, linux-mtd

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
 drivers/mtd/devices/m25p80.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 21d866c..57fec6d 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -645,6 +645,11 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },
 	{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
 
+	/* Intel/Numonyx -- xxxs33b */
+	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  64, 0) },
+	{ "320s33b",  INFO(0x898912, 0, 64 * 1024, 128, 0) },
+	{ "640s33b",  INFO(0x898913, 0, 64 * 1024, 256, 0) },
+
 	/* Macronix */
 	{ "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
 	{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
@@ -834,11 +839,12 @@ static int __devinit m25p_probe(struct spi_device *spi)
 	dev_set_drvdata(&spi->dev, flash);
 
 	/*
-	 * Atmel and SST serial flash tend to power
+	 * Atmel, SST and Intel/Numonyx serial flash tend to power
 	 * up with the software protection bits set
 	 */
 
 	if (info->jedec_id >> 16 == 0x1f ||
+	    info->jedec_id >> 16 == 0x89 ||
 	    info->jedec_id >> 16 == 0xbf) {
 		write_enable(flash);
 		write_sr(flash, 0);
-- 
1.5.3.2

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

* [PATCH 3/3] mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip
  2010-08-04 19:14 [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Gabor Juhos
  2010-08-04 19:14 ` [PATCH 2/3] mtd: m25p80: add support for the Intel/Numonyx {16, 32, 64}0S33B " Gabor Juhos
@ 2010-08-04 19:14 ` Gabor Juhos
  2010-08-05  6:10 ` [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Artem Bityutskiy
  2 siblings, 0 replies; 6+ messages in thread
From: Gabor Juhos @ 2010-08-04 19:14 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Gabor Juhos, linux-mtd

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 57fec6d..8d4ac1b 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -716,6 +716,7 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "w25x80", INFO(0xef3014, 0, 64 * 1024,  16, SECT_4K) },
 	{ "w25x16", INFO(0xef3015, 0, 64 * 1024,  32, SECT_4K) },
 	{ "w25x32", INFO(0xef3016, 0, 64 * 1024,  64, SECT_4K) },
+	{ "w25q32", INFO(0xef4016, 0, 64 * 1024,  64, SECT_4K) },
 	{ "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
 
 	/* Catalyst / On Semiconductor -- non-JEDEC */
-- 
1.5.3.2

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

* Re: [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
  2010-08-04 19:14 [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Gabor Juhos
  2010-08-04 19:14 ` [PATCH 2/3] mtd: m25p80: add support for the Intel/Numonyx {16, 32, 64}0S33B " Gabor Juhos
  2010-08-04 19:14 ` [PATCH 3/3] mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip Gabor Juhos
@ 2010-08-05  6:10 ` Artem Bityutskiy
  2010-08-05  6:11   ` Artem Bityutskiy
  2 siblings, 1 reply; 6+ messages in thread
From: Artem Bityutskiy @ 2010-08-05  6:10 UTC (permalink / raw)
  To: Gabor Juhos; +Cc: linux-mtd, David Woodhouse

On Wed, 2010-08-04 at 21:14 +0200, Gabor Juhos wrote:
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> ---
>  drivers/mtd/devices/m25p80.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Pushed to my l2-mtd-2.6.git / dunno.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

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

* Re: [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
  2010-08-05  6:10 ` [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Artem Bityutskiy
@ 2010-08-05  6:11   ` Artem Bityutskiy
  2010-08-05  7:37     ` Gabor Juhos
  0 siblings, 1 reply; 6+ messages in thread
From: Artem Bityutskiy @ 2010-08-05  6:11 UTC (permalink / raw)
  To: Gabor Juhos; +Cc: linux-mtd, David Woodhouse

On Thu, 2010-08-05 at 09:10 +0300, Artem Bityutskiy wrote:
> On Wed, 2010-08-04 at 21:14 +0200, Gabor Juhos wrote:
> > Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> > ---
> >  drivers/mtd/devices/m25p80.c |    4 ++++
> >  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> Pushed to my l2-mtd-2.6.git / dunno.

I mean, all 3 patches.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

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

* Re: [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
  2010-08-05  6:11   ` Artem Bityutskiy
@ 2010-08-05  7:37     ` Gabor Juhos
  0 siblings, 0 replies; 6+ messages in thread
From: Gabor Juhos @ 2010-08-05  7:37 UTC (permalink / raw)
  To: dedekind1; +Cc: linux-mtd, David Woodhouse

2010.08.05. 8:11 keltezéssel, Artem Bityutskiy írta:
> On Thu, 2010-08-05 at 09:10 +0300, Artem Bityutskiy wrote:
>> On Wed, 2010-08-04 at 21:14 +0200, Gabor Juhos wrote:
>>> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
>>> ---
>>>  drivers/mtd/devices/m25p80.c |    4 ++++
>>>  1 files changed, 4 insertions(+), 0 deletions(-)
>>
>> Pushed to my l2-mtd-2.6.git / dunno.
> 
> I mean, all 3 patches.

Thanks,
Gabor

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

end of thread, other threads:[~2010-08-05  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-04 19:14 [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Gabor Juhos
2010-08-04 19:14 ` [PATCH 2/3] mtd: m25p80: add support for the Intel/Numonyx {16, 32, 64}0S33B " Gabor Juhos
2010-08-04 19:14 ` [PATCH 3/3] mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip Gabor Juhos
2010-08-05  6:10 ` [PATCH 1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips Artem Bityutskiy
2010-08-05  6:11   ` Artem Bityutskiy
2010-08-05  7:37     ` Gabor Juhos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox