From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cF2AE-0005RQ-UF for linux-mtd@lists.infradead.org; Thu, 08 Dec 2016 17:07:24 +0000 Date: Thu, 8 Dec 2016 18:06:59 +0100 From: Boris Brezillon To: "Andrey Jr. Melnikov" Cc: linux-mtd@lists.infradead.org Subject: Re: [PATCH] Add Winbond manufacturer id Message-ID: <20161208180659.0a3ef685@bbrezillon> In-Reply-To: <20161208165707.ebtk5vclxc6xvbpw@ppc.Dlink> References: <20161208165707.ebtk5vclxc6xvbpw@ppc.Dlink> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Andrey, Next time, can you please add the "mtd: nand: " prefix when you touch something in the NAND framework. No need to resend this patch, I'll fix it when applying. Thanks, Boris On Thu, 8 Dec 2016 19:57:08 +0300 "Andrey Jr. Melnikov" wrote: > 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 > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/