From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ayis8-00069I-05 for linux-mtd@lists.infradead.org; Fri, 06 May 2016 16:45:00 +0000 Message-ID: <572CC52D.1020109@denx.de> Date: Fri, 06 May 2016 18:24:13 +0200 From: Marek Vasut MIME-Version: 1.0 To: Brian Norris CC: linux-mtd@lists.infradead.org, Ezequiel Garcia Subject: Re: [PATCH] mtd: spi-nor: support GigaDevice gd25lq64c References: <1462496421-76186-1-git-send-email-computersforpeace@gmail.com> <572BF4E2.1040106@denx.de> <20160506153724.GA88242@google.com> In-Reply-To: <20160506153724.GA88242@google.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 05/06/2016 05:37 PM, Brian Norris wrote: > On Fri, May 06, 2016 at 03:35:30AM +0200, Marek Vasut wrote: >> On 05/06/2016 03:00 AM, Brian Norris wrote: >>> --- a/drivers/mtd/spi-nor/spi-nor.c >>> +++ b/drivers/mtd/spi-nor/spi-nor.c >>> @@ -832,6 +832,7 @@ static const struct flash_info spi_nor_ids[] = { >>> /* GigaDevice */ >>> { "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64, SECT_4K) }, >>> { "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) }, >>> + { "gd25lq64c", INFO(0xc86017, 0, 64 * 1024, 128, SECT_4K | SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, >> >> It's enough to use one SECT_4K , it will work just fine :-) > > Of course :) Maybe I should read my own patch next time. Will send v2 > shortly. You can see Linus's law in action here though ;-) > Thanks, > Brian > >>> { "gd25q128", INFO(0xc84018, 0, 64 * 1024, 256, SECT_4K) }, >> >> >> -- >> Best regards, >> Marek Vasut -- Best regards, Marek Vasut