From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0qF8-00082B-39 for linux-mtd@lists.infradead.org; Wed, 19 Apr 2017 14:06:07 +0000 Received: by mail-wm0-x242.google.com with SMTP id o81so5187765wmb.0 for ; Wed, 19 Apr 2017 07:05:41 -0700 (PDT) Subject: Re: [PATCH 1/2] mtd: spi-nor: Add support for Macronix mx66l1g45g spi flash To: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= , linux-mtd@lists.infradead.org References: <1492610420-12397-1-git-send-email-clg@kaod.org> <1492610420-12397-2-git-send-email-clg@kaod.org> Cc: Cyrille Pitchen , Boris Brezillon , David Woodhouse , Brian Norris , Richard Weinberger From: Marek Vasut Message-ID: <6a7e7585-5989-8feb-cec1-3e4e78787d5e@gmail.com> Date: Wed, 19 Apr 2017 16:04:48 +0200 MIME-Version: 1.0 In-Reply-To: <1492610420-12397-2-git-send-email-clg@kaod.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 04/19/2017 04:00 PM, Cédric Le Goater wrote: > These modules are used on the OpenPOWER Witherspoon systems to hold > the POWER9 host firmware image. The SPI_NOR_DUAL_READ flags is added > for the Aspeed SoCs which do not support QUAD reads. > > Signed-off-by: Cédric Le Goater Reviewed-by: Marek Vasut > --- > > The line is over 80 characters but it looks better. > > 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 747645c74134..ee777df4466c 100644 > --- a/drivers/mtd/spi-nor/spi-nor.c > +++ b/drivers/mtd/spi-nor/spi-nor.c > @@ -1020,6 +1020,7 @@ static const struct flash_info spi_nor_ids[] = { > { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K) }, > { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, > { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_QUAD_READ) }, > + { "mx66l1g45g", INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, > { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) }, > > /* Micron */ > -- Best regards, Marek Vasut