From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gate.crashing.org ([63.228.1.57]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLhWJ-0003A4-Rh for linux-mtd@lists.infradead.org; Fri, 16 Jun 2017 03:02:01 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id v5G31a8c013109 for ; Thu, 15 Jun 2017 22:01:37 -0500 Message-ID: <1497582096.2897.93.camel@kernel.crashing.org> Subject: [PATCH] spi-nor: Add Winbond w25q512jv From: Benjamin Herrenschmidt To: "linux-mtd@lists.infradead.org" Date: Fri, 16 Jun 2017 13:01:36 +1000 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Similar to the other ones, different size. The "JV" suffix is in the datasheet, I haven't seen mentions of a different one. Signed-off-by: Benjamin Herrenschmidt --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1160,6 +1160,7 @@ static const struct flash_info spi_nor_ids[] = {         { "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16, SECT_4K) },         { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },         { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) }, +       { "w25q512jv", INFO(0xef7119, 0, 64 * 1024, 1024, SECT_4K) },           /* Catalyst / On Semiconductor -- non-JEDEC */         { "cat25c11", CAT25_INFO(  16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },