From patchwork Fri Jul 16 14:08:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hoyler, Gernot" X-Patchwork-Id: 59109 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 16E84B6F18 for ; Sat, 17 Jul 2010 00:20:27 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OZlkn-0001tL-Uq; Fri, 16 Jul 2010 14:19:05 +0000 Received: from usausmgw01.spansion.com ([12.110.209.161]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OZlkl-0001sg-GV for linux-mtd@lists.infradead.org; Fri, 16 Jul 2010 14:19:04 +0000 X-IronPort-AV: E=McAfee;i="5400,1158,6044"; a="9986081" Received: from ussvlvexcasht1.spansion.com ([10.247.35.123]) by usausmgw01.spansion.com with ESMTP; 16 Jul 2010 07:08:49 -0700 Received: from US2K7EXMBPF1.spansion.com ([169.254.2.109]) by USSVLVEXCASHT1.spansion.com ([10.247.35.123]) with mapi; Fri, 16 Jul 2010 07:08:45 -0700 From: "Hoyler, Gernot" To: "linux-mtd@lists.infradead.org" Date: Fri, 16 Jul 2010 07:08:44 -0700 Subject: Spansion SPI parts Thread-Topic: Spansion SPI parts Thread-Index: Acsk8CgerRw5Lf7qSOmufaq37RKsBAAAAzEg Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20100716_101903_675714_0730C4D7 X-CRM114-Status: UNSURE ( 4.04 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 3.4 (+++) X-Spam-Report: SpamAssassin version 3.3.1 on bombadil.infradead.org summary: Content analysis details: (3.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- 3.4 RCVD_ILLEGAL_IP Received: contains illegal IP address -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 Can we fix the Spansion SPI flash device names in drivers/mtd/devices/m25p80.c? There is no Spansion s25sl device family. The references should be changed to s25fl, at a couple of locations (see below). Thanks, Gernot --- Dr. Gernot Hoyler, Customer Engineering, Spansion LLC ------------------------------------------------------------------------------------- diff -rupN linux-2.6.34/drivers/mtd/devices/Kconfig linux-2.6.34-fixed/drivers/mtd/devices/Kconfig --- linux-2.6.34/drivers/mtd/devices/Kconfig 2010-05-16 23:17:36.000000000 +0200 +++ linux-2.6.34-fixed/drivers/mtd/devices/Kconfig 2010-07-16 15:45:16.000000000 +0200 @@ -84,7 +84,7 @@ config MTD_M25P80 help This enables access to most modern SPI flash chips, used for program and data storage. Series supported include Atmel AT26DF, - Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X. Other chips + Spansion S25FL, SST 25VF, ST M25P, and Winbond W25X. Other chips are supported as well. See the driver source for the current list, or to add other chips. diff -rupN linux-2.6.34/drivers/mtd/devices/m25p80.c linux-2.6.34-fixed/drivers/mtd/devices/m25p80.c --- linux-2.6.34/drivers/mtd/devices/m25p80.c 2010-05-16 23:17:36.000000000 +0200 +++ linux-2.6.34-fixed/drivers/mtd/devices/m25p80.c 2010-07-16 15:45:02.000000000 +0200 @@ -649,13 +649,13 @@ static const struct spi_device_id m25p_i /* Spansion -- single (large) sector size only, at least * for the chips listed here (without boot sectors). */ - { "s25sl004a", INFO(0x010212, 0, 64 * 1024, 8, 0) }, - { "s25sl008a", INFO(0x010213, 0, 64 * 1024, 16, 0) }, - { "s25sl016a", INFO(0x010214, 0, 64 * 1024, 32, 0) }, - { "s25sl032a", INFO(0x010215, 0, 64 * 1024, 64, 0) }, - { "s25sl064a", INFO(0x010216, 0, 64 * 1024, 128, 0) }, - { "s25sl12800", INFO(0x012018, 0x0300, 256 * 1024, 64, 0) }, - { "s25sl12801", INFO(0x012018, 0x0301, 64 * 1024, 256, 0) }, + { "s25fl004a", INFO(0x010212, 0, 64 * 1024, 8, 0) }, + { "s25fl008a", INFO(0x010213, 0, 64 * 1024, 16, 0) }, + { "s25fl016a", INFO(0x010214, 0, 64 * 1024, 32, 0) }, + { "s25fl032a", INFO(0x010215, 0, 64 * 1024, 64, 0) }, + { "s25fl064a", INFO(0x010216, 0, 64 * 1024, 128, 0) }, + { "s25fl128p0", INFO(0x012018, 0x0300, 256 * 1024, 64, 0) }, + { "s25fl128p1", INFO(0x012018, 0x0301, 64 * 1024, 256, 0) }, { "s25fl129p0", INFO(0x012018, 0x4d00, 256 * 1024, 64, 0) }, { "s25fl129p1", INFO(0x012018, 0x4d01, 64 * 1024, 256, 0) },