From patchwork Tue Jun 16 06:06:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antony Pavlov X-Patchwork-Id: 484797 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C074C1401B5 for ; Tue, 16 Jun 2015 16:06:14 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=FjsmQPmO; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z4jzC-0007xk-DE; Tue, 16 Jun 2015 06:04:38 +0000 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z4jzA-0007w8-01 for linux-mtd@lists.infradead.org; Tue, 16 Jun 2015 06:04:36 +0000 Received: by lacny3 with SMTP id ny3so3976341lac.3 for ; Mon, 15 Jun 2015 23:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=8ZkFGpCSAj1Ji0GDQ4HR8ShBJAPDKWmr/aY5BwJKiqE=; b=FjsmQPmOvDLFK1Ck8vLCrMPqIlncLYRwzcsqqyMNrbIlybjTPj9UsWANz5+UQ0WxN3 hFdM0dxY8EtCFeaY65FADBmRBHYculGmJhCwTVrk1QzElA2+MIta7hcb7dM2lOzb+mIS higYSldtUkevvsi7DA3INsLozrx+SocD2SXOFFKippgQJAkBuxvl/KysJhmOEaBksXXU 2LQcUqbLGeHX+ksh/iw1Tq3b1nn6MbctRMgYz1U2MYFE4cwEutDozMZRLGVZhI8ODpu0 JsGh9Y1DHi9Na3b0j6X5mi6gkNlMbyi/vJzZo/yO9mJz352d7fyn8mxGnoPmvogWUKos vMQg== X-Received: by 10.152.88.5 with SMTP id bc5mr30987905lab.45.1434434653688; Mon, 15 Jun 2015 23:04:13 -0700 (PDT) Received: from localhost.localdomain (ppp79-139-242-45.pppoe.spdop.ru. [79.139.242.45]) by mx.google.com with ESMTPSA id x2sm3172302laj.8.2015.06.15.23.04.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 23:04:12 -0700 (PDT) From: Antony Pavlov To: linux-mtd@lists.infradead.org Subject: [PATCH V2] mtd: spi-nor: add Spansion S25FL204K support Date: Tue, 16 Jun 2015 09:06:29 +0300 Message-Id: <1434434789-25915-1-git-send-email-antonynpavlov@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150615_230436_237371_46DF25D0 X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c03:0:0:0:22c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (antonynpavlov[at]gmail.com) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Cc: Marek Vasut , Brian Norris , David Woodhouse , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Spansion S25FL204K is a 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kB Sectors. Signed-off-by: Antony Pavlov --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 14a5d23..274083c 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -614,6 +614,7 @@ static const struct spi_device_id spi_nor_ids[] = { { "s25fl016k", INFO(0xef4015, 0, 64 * 1024, 32, SECT_4K) }, { "s25fl064k", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) }, { "s25fl132k", INFO(0x014016, 0, 64 * 1024, 64, 0) }, + { "s25fl204k", INFO(0x014013, 0, 64 * 1024, 8, SECT_4K) }, /* SST -- large erase sizes are "overlays", "sectors" are 4K */ { "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024, 8, SECT_4K | SST_WRITE) },