Patchwork [02/11] mtd: m25p80: add support for M25PX64

login
register
mail settings
Submitter Yoshihiro Shimoda
Date Feb. 9, 2011, 8 a.m.
Message ID <4D5249A1.3090605@renesas.com>
Download mbox | patch
Permalink /patch/82434/
State New
Headers show

Comments

Yoshihiro Shimoda - Feb. 9, 2011, 8 a.m.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
 drivers/mtd/devices/m25p80.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Artem Bityutskiy - Feb. 11, 2011, 2:24 p.m.
On Wed, 2011-02-09 at 17:00 +0900, Yoshihiro Shimoda wrote:
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
>  drivers/mtd/devices/m25p80.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

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

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index e4eba6c..e35a370 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -728,6 +728,8 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "m25pe80", INFO(0x208014,  0, 64 * 1024, 16,       0) },
 	{ "m25pe16", INFO(0x208015,  0, 64 * 1024, 32, SECT_4K) },

+	{ "m25px64", INFO(0x207117,  0, 64 * 1024, 128, 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) },