Patchwork m25p80: Add support for the Winbond W25Q64.

login
register
mail settings
Submitter Thierry Reding
Date Aug. 30, 2010, 11 a.m.
Message ID <1283166048-28228-1-git-send-email-thierry.reding@avionic-design.de>
Download mbox | patch
Permalink /patch/63023/
State Accepted
Commit d2ac467a108400ff1ae682a423c7d41265e62d47
Headers show

Comments

Thierry Reding - Aug. 30, 2010, 11 a.m.
This patch adds support for the Winbond W25Q64 serial flash.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Artem Bityutskiy - Sept. 18, 2010, 6:05 p.m.
On Mon, 2010-08-30 at 13:00 +0200, Thierry Reding wrote:
> This patch adds support for the Winbond W25Q64 serial flash.
> 
> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>

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

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 6f512b5..8cd2ec2 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -714,6 +714,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "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) },
+	{ "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
 
 	/* Catalyst / On Semiconductor -- non-JEDEC */
 	{ "cat25c11", CAT25_INFO(  16, 8, 16, 1) },