Patchwork [-,resend] m25p80 : add m45pe10 ids

login
register
mail settings
Submitter Matthieu CASTET
Date April 28, 2009, 4:15 p.m.
Message ID <49F72BA3.3030506@parrot.com>
Download mbox | patch
Permalink /patch/26827/
State New
Headers show

Comments

Matthieu CASTET - April 28, 2009, 4:15 p.m.
Hi,

this patch add m45pe10 [1] chip support to m25p80 driver.

[1] http://www.numonyx.com/Documents/Datasheets/M45PE10.pdf

Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Artem Bityutskiy - May 15, 2009, 1:25 p.m.
On Tue, 2009-04-28 at 18:15 +0200, Matthieu CASTET wrote:
> Hi,
> 
> this patch add m45pe10 [1] chip support to m25p80 driver.
> 
> [1] http://www.numonyx.com/Documents/Datasheets/M45PE10.pdf
> 
> Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>

Taken to l2-mtd-2.6.git.

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 76a7675..a888299 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -528,6 +528,7 @@  static struct flash_info __devinitdata m25p_data [] = {
 	{ "m25p64",  0x202017,  0, 64 * 1024, 128, },
 	{ "m25p128", 0x202018, 0, 256 * 1024, 64, },
 
+	{ "m45pe10", 0x204011,  0, 64 * 1024, 2, },
 	{ "m45pe80", 0x204014,  0, 64 * 1024, 16, },
 	{ "m45pe16", 0x204015,  0, 64 * 1024, 32, },