Skip to content

Commit 40fc91b

Browse files
csharper2005hauke
authored andcommitted
kernel: fix QE bit for Fudan Micro FM25S01A SPI-NAND
According to datasheet (http://eng.fmsh.com/nvm/FM25S01A_ds_eng.pdf) there is no QE (Quad Enable) bit for FM25S01A flash, so remove it. Signed-off-by: Mikhail Zhilkin <[email protected]> Link: openwrt/openwrt#20872 Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent 46ab9f3 commit 40fc91b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From a1d3bc606bf5c3b3ea811cc2019df6285d75b00f Mon Sep 17 00:00:00 2001
2+
From: Mikhail Kshevetskiy <[email protected]>
3+
Date: Mon, 3 Nov 2025 04:01:48 +0300
4+
Subject: [PATCH] mtd: spinand: fmsh: remove QE bit for FM25S01A flash
5+
6+
According to datasheet (http://eng.fmsh.com/nvm/FM25S01A_ds_eng.pdf)
7+
there is no QE (Quad Enable) bit for FM25S01A flash, so remove it.
8+
9+
Fixes: 5f284dc15ca86 ("mtd: spinand: add support for FudanMicro FM25S01A")
10+
Signed-off-by: Mikhail Kshevetskiy <[email protected]>
11+
Tested-by: Tianling Shen <[email protected]>
12+
Signed-off-by: Miquel Raynal <[email protected]>
13+
Link: Link: https://lore.kernel.org/linux-mtd/[email protected]
14+
---
15+
drivers/mtd/nand/spi/fmsh.c | 2 +-
16+
1 file changed, 1 insertion(+), 1 deletion(-)
17+
18+
--- a/drivers/mtd/nand/spi/fmsh.c
19+
+++ b/drivers/mtd/nand/spi/fmsh.c
20+
@@ -58,7 +58,7 @@ static const struct spinand_info fmsh_sp
21+
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
22+
&write_cache_variants,
23+
&update_cache_variants),
24+
- SPINAND_HAS_QE_BIT,
25+
+ 0,
26+
SPINAND_ECCINFO(&fm25s01a_ooblayout, NULL)),
27+
};
28+

0 commit comments

Comments
 (0)