[PATCH] mtd: spinand: fmsh: remove QE bit for FM25S01A flash
Tianling Shen
cnsztl at gmail.com
Sun Nov 2 21:34:13 PST 2025
Hi Mikhail,
On November 3, 2025 9:01:48 AM GMT+08:00, Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu> wrote:
>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.
Thank you so much for the fix!
>
>Fixes: 5f284dc15ca86 ("mtd: spinand: add support for FudanMicro FM25S01A")
>Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
Tested-by: Tianling Shen <cnsztl at gmail.com>
Thanks,
Tianling.
>---
> drivers/mtd/nand/spi/fmsh.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/mtd/nand/spi/fmsh.c b/drivers/mtd/nand/spi/fmsh.c
>index 8b2097bfc771..c2b9a8c113cb 100644
>--- a/drivers/mtd/nand/spi/fmsh.c
>+++ b/drivers/mtd/nand/spi/fmsh.c
>@@ -58,7 +58,7 @@ static const struct spinand_info fmsh_spinand_table[] = {
> SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
> &write_cache_variants,
> &update_cache_variants),
>- SPINAND_HAS_QE_BIT,
>+ 0,
> SPINAND_ECCINFO(&fm25s01a_ooblayout, NULL)),
> };
>
>--
>2.51.0
>
More information about the linux-mtd
mailing list