From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from nbd.name ([2a01:4f8:131:30e2::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cJbFX-00028p-VW for linux-mtd@lists.infradead.org; Wed, 21 Dec 2016 07:23:46 +0000 From: John Crispin To: Cyrille Pitchen , Marek Vasut Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Andr=C3=A9=20Valentin?= , John Crispin Subject: [PATCH V2 2/3] mtd: spi-nor: add support for macronix mx25u3235f Date: Wed, 21 Dec 2016 08:23:09 +0100 Message-Id: <1482304990-23942-3-git-send-email-john@phrozen.org> In-Reply-To: <1482304990-23942-1-git-send-email-john@phrozen.org> References: <1482304990-23942-1-git-send-email-john@phrozen.org> MIME-Version: 1.0 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: , From: André Valentin This patch adds support for a new macronix spi flash chip. We have had this patch inside our tree for a while and people are actively using routers with this chip. Signed-off-by: John Crispin Signed-off-by: André Valentin --- Changes in V2 * add description * add SECT_4K * fix indenting 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 171adb3..bfff159 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -868,6 +868,7 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) { "mx25l3205d", INFO(0xc22016, 0, 64 * 1024, 64, SECT_4K) }, { "mx25l3255e", INFO(0xc29e16, 0, 64 * 1024, 64, SECT_4K) }, { "mx25l6405d", INFO(0xc22017, 0, 64 * 1024, 128, SECT_4K) }, + { "mx25u3235f", INFO(0xc22536, 0, 64 * 1024, 64, SECT_4K) }, { "mx25u6435f", INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) }, { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, -- 1.7.10.4