From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dO1cv-0007Rm-6p for linux-mtd@lists.infradead.org; Thu, 22 Jun 2017 12:54:26 +0000 Received: by mail-pg0-x242.google.com with SMTP id u62so2332261pgb.0 for ; Thu, 22 Jun 2017 05:54:04 -0700 (PDT) From: Harry Chou To: cyrille.pitchen@wedev4u.fr Cc: marek.vasut@gmail.com, dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, richard@nod.at, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Harry Chou Subject: [PATCH] mtd: spi-nor: Add support for Spansion S25FL064L Date: Thu, 22 Jun 2017 20:53:18 +0800 Message-Id: <1498135998-17788-1-git-send-email-HarryYC.Chou@gmail.com> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , It's an 8 MiB flash with 4 KiB erase sectors. Signed-off-by: Harry Chou --- 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 dea8c9c..1f84765 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1076,6 +1076,7 @@ static const struct flash_info spi_nor_ids[] = { { "s25fl164k", INFO(0x014017, 0, 64 * 1024, 128, SECT_4K) }, { "s25fl204k", INFO(0x014013, 0, 64 * 1024, 8, SECT_4K | SPI_NOR_DUAL_READ) }, { "s25fl208k", INFO(0x014014, 0, 64 * 1024, 16, SECT_4K | SPI_NOR_DUAL_READ) }, + { "s25fl064l", INFO(0x016017, 0, 64 * 1024, 128, SECT_4K) }, /* SST -- large erase sizes are "overlays", "sectors" are 4K */ { "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024, 8, SECT_4K | SST_WRITE) }, -- 2.7.4