Patchwork mtd: m25p80: add support for the EON EN25F32 chip

login
register
mail settings
Submitter Gabor Juhos
Date Jan. 25, 2011, 10:20 a.m.
Message ID <1295950826-20255-1-git-send-email-juhosg@openwrt.org>
Download mbox | patch
Permalink /patch/80344/
State New
Headers show

Comments

Gabor Juhos - Jan. 25, 2011, 10:20 a.m.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
 drivers/mtd/devices/m25p80.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Artem Bityutskiy - Jan. 29, 2011, 4:22 p.m.
On Tue, 2011-01-25 at 11:20 +0100, Gabor Juhos wrote:
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> ---
>  drivers/mtd/devices/m25p80.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Pushed to l2-mtd-2.6.git, thanks!

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index e4eba6c..8d83a8b 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -655,7 +655,8 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
 	{ "at26df321",  INFO(0x1f4700, 0, 64 * 1024, 64, SECT_4K) },
 
-	/* EON -- en25pxx */
+	/* EON -- en25xxx */
+	{ "en25f32", INFO(0x1c3116, 0, 64 * 1024,  64, SECT_4K) },
 	{ "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },
 	{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },