9c83b4c7f72e20122b6bbeec5976075f8762cf0c
[openwrt/staging/thess.git] /
1 From 316be7f5f5f05e846b639b1eeee4267e18db9e69 Mon Sep 17 00:00:00 2001
2 From: Kuldeep Singh <kuldeep.singh@nxp.com>
3 Date: Fri, 3 Jan 2020 14:45:05 +0530
4 Subject: [PATCH] LF-20-2 mtd: spi-nor: Use 1 bit mode of spansion(s25fs512s)
5 flash
6
7 Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
8 ---
9 drivers/mtd/spi-nor/spi-nor.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 --- a/drivers/mtd/spi-nor/spi-nor.c
13 +++ b/drivers/mtd/spi-nor/spi-nor.c
14 @@ -2419,7 +2419,7 @@ static const struct flash_info spi_nor_i
15 { "s25fl512s", INFO6(0x010220, 0x4d0080, 256 * 1024, 256,
16 SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
17 SPI_NOR_HAS_LOCK | USE_CLSR) },
18 - { "s25fs512s", INFO6(0x010220, 0x4d0081, 256 * 1024, 256, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
19 + { "s25fs512s", INFO6(0x010220, 0x4d0081, 256 * 1024, 256, SPI_NOR_4B_OPCODES | USE_CLSR) },
20 { "s70fl01gs", INFO(0x010221, 0x4d00, 256 * 1024, 256, 0) },
21 { "s25sl12800", INFO(0x012018, 0x0300, 256 * 1024, 64, 0) },
22 { "s25sl12801", INFO(0x012018, 0x0301, 64 * 1024, 256, 0) },