Patchwork [1/3] mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips

login
register
mail settings
Submitter Gabor Juhos
Date Aug. 4, 2010, 7:14 p.m.
Message ID <1280949267-18154-1-git-send-email-juhosg@openwrt.org>
Download mbox | patch
Permalink /patch/60888/
State New
Headers show

Comments

Gabor Juhos - Aug. 4, 2010, 7:14 p.m.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
 drivers/mtd/devices/m25p80.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Artem Bityutskiy - Aug. 5, 2010, 6:10 a.m.
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.
Artem Bityutskiy - Aug. 5, 2010, 6:11 a.m.
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.
Gabor Juhos - Aug. 5, 2010, 7:37 a.m.
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

Patch

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) },