From patchwork Thu Sep 2 15:27:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hoyler, Gernot" X-Patchwork-Id: 63500 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 634B9B7190 for ; Fri, 3 Sep 2010 01:49:19 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OrC1G-0003P8-SX; Thu, 02 Sep 2010 15:48:06 +0000 Received: from ussvlmgty03.spansion.com ([12.151.36.115]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OrC1C-0003Ic-Sb for linux-mtd@lists.infradead.org; Thu, 02 Sep 2010 15:48:04 +0000 X-IronPort-AV: E=McAfee;i="5400,1158,6093"; a="10182060" Received: from ussvlvexcasht2.spansion.com ([10.247.35.124]) by ussvlmgty03.spansion.com with ESMTP; 02 Sep 2010 08:47:56 -0700 Received: from muc-cse-01.spansion.com (10.244.1.191) by USSVLVEXCASHT2.spansion.com (10.247.35.124) with Microsoft SMTP Server id 8.2.176.0; Thu, 2 Sep 2010 08:47:59 -0700 From: Gernot Hoyler To: dedekind1@gmail.com, linux-mtd@lists.infradead.org Subject: Re: Re: [PATCH] m25p80: Add support for two new Spansion SPI devices (S25FL-K) In-Reply-To: <1283421228.1748.7.camel@brekeke> Date: Thu, 2 Sep 2010 17:27:20 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.36-rc1+; KDE/4.2.2; i686; ; ) MIME-Version: 1.0 Content-Disposition: inline Message-ID: <201009021727.20453.Gernot.Hoyler@spansion.com> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20100902_114803_135539_D36600E4 X-CRM114-Status: GOOD ( 23.76 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This patch adds support for Spansion S25FL016K and S25FL064K SPI flash. It has been tested with physical devices. Note that both parts exhibit a Winbond manufacturer ID so they might also be added to that section. Signed-off-by: Gernot Hoyler --- drivers/mtd/devices/m25p80.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 6f512b5..1f0f703 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -666,6 +666,8 @@ static const struct spi_device_id m25p_ids[] = { { "s25sl12801", INFO(0x012018, 0x0301, 64 * 1024, 256, 0) }, { "s25fl129p0", INFO(0x012018, 0x4d00, 256 * 1024, 64, 0) }, { "s25fl129p1", INFO(0x012018, 0x4d01, 64 * 1024, 256, 0) }, + { "s25fl016k", INFO(0xef4015, 0, 64 * 1024, 32, SECT_4K) }, + { "s25fl064k", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) }, /* SST -- large erase sizes are "overlays", "sectors" are 4K */ { "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024, 8, SECT_4K) },