From patchwork Thu Dec 8 16:57:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Andrey Jr. Melnikov" X-Patchwork-Id: 704123 X-Patchwork-Delegate: boris.brezillon@free-electrons.com 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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tZM5m04skz9t87 for ; Fri, 9 Dec 2016 03:59:08 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Amdl5+Rn"; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cF20s-0005y7-5l; Thu, 08 Dec 2016 16:57:42 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cF20k-0005c7-Ee for linux-mtd@lists.infradead.org; Thu, 08 Dec 2016 16:57:38 +0000 Received: by mail-wm0-x244.google.com with SMTP id g23so4745055wme.1 for ; Thu, 08 Dec 2016 08:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=2Fs+6wbbsCSz+fivWiz9ziHYmgsCQ3TOCMBvh8YJb0U=; b=Amdl5+RnM5/uPu0AVNrckM5jZrJjbQMe7B/6QV/bSIWUEOQxzOTabJsFYV4IMnkawS cAN/o/3g7GJHQ2FHwNVaU8Jw7gtbuvwO6BGoWWe4fF7a40RP00wAe4IN+IJhdfQ0zTBs gVMfvB5/o1MGuDKZVxtdm0FJPb828L+mCiZk0DdYogqUrZwGZM98eKMY7D8IfhSl2tuR 1YibJQK5EAFTkENBYIuMolypxvq4KE5wHTg/0plcxCnA147reD001MyYP5KAtWAR+jxg UCgrenT711zDj6D7bmUZi7HfmrnM1xLi/nPEMamMxBJeBvnP2+NOvXq5YfMh8za6q27D 5xcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=2Fs+6wbbsCSz+fivWiz9ziHYmgsCQ3TOCMBvh8YJb0U=; b=eptIV9vzICySgMPIbTHNN50IVhEAZfk3iJuEmhFuGKbmyHSR/IwaqZU+mckuuoTH1h JlUZDr7gDtOexB67jS1AgSKV4sKEkvI6VFtIB3I+uMZEHMBdYWceQJrrGNUb+xefShrj z4k2gYq5pL6FgSNoyX+XtvIfCJo529nM9D82ilt8DTWo5wlSLqD5MizDq3IP6juTyp7p Xg5JMmsafWjAFrrOGTK023MMg3GB24F/1bA4sDyu1w0xGurwhGcZA6hf0mY9GMAXJn+v njcidt0lTWkGB0DF62wG40XEM2IdCiqufQNQYQcw4MRSqFnKgskzld8YJ8WmqWQ9PlfY kTtw== X-Gm-Message-State: AKaTC00mL+ctq+ueXIN53LyBvWBet4Kv1BcKGsJT5AofKJF3q4souSFBaCKmeqRQe9wLVw== X-Received: by 10.25.29.8 with SMTP id d8mr21909924lfd.18.1481216231700; Thu, 08 Dec 2016 08:57:11 -0800 (PST) Received: from ppc.Dlink ([2001:470:28:152::2]) by smtp.gmail.com with ESMTPSA id v17sm5827712lja.43.2016.12.08.08.57.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Dec 2016 08:57:11 -0800 (PST) Date: Thu, 8 Dec 2016 19:57:08 +0300 From: "Andrey Jr. Melnikov" To: Boris Brezillon , linux-mtd@lists.infradead.org Subject: [PATCH] Add Winbond manufacturer id Message-ID: <20161208165707.ebtk5vclxc6xvbpw@ppc.Dlink> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20161104 (1.7.1) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161208_085734_897667_BCAB7EBA X-CRM114-Status: UNSURE ( 7.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:244 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 (temnota.am[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -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 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add WINBOND manufacturer id. Signed-off-by: Andrey Jr. Melnikov diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 2af9869..6508682 100644 --- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c @@ -182,6 +182,7 @@ struct nand_manufacturers nand_manuf_ids[] = { {NAND_MFR_SANDISK, "SanDisk"}, {NAND_MFR_INTEL, "Intel"}, {NAND_MFR_ATO, "ATO"}, + {NAND_MFR_WINBOND, "Winbond"}, {0x0, "Unknown"} }; diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 8dd6e01..035f207 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -797,6 +797,7 @@ static inline void nand_set_controller_data(struct nand_chip *chip, void *priv) #define NAND_MFR_SANDISK 0x45 #define NAND_MFR_INTEL 0x89 #define NAND_MFR_ATO 0x9b +#define NAND_MFR_WINBOND 0xef /* The maximum expected count of bytes in the NAND ID sequence */ #define NAND_MAX_ID_LEN 8