65f1b708a11b0badf8fa90733d05c3142922c900
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 150-mtd-spi-nor-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch
1 From: "L. D. Pinney" <ldpinney@gmail.com>
2 Date: Thu, 25 Aug 2016 13:07:56 -0500
3 Subject: [PATCH] mtd: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qa
4
5 Add Support for the ESMT_F25L32QA and ESMT_F25L64QA
6 These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory Technology
7
8 Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
9 ---
10
11 --- a/drivers/mtd/spi-nor/spi-nor.c
12 +++ b/drivers/mtd/spi-nor/spi-nor.c
13 @@ -688,6 +688,8 @@ static const struct flash_info spi_nor_i
14
15 /* ESMT */
16 { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) },
17 + { "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64, SECT_4K) },
18 + { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128, SECT_4K) },
19
20 /* Everspin */
21 { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },