mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 12:40:16 +04:00
a3f4d1e0c6
Manually rebuild pending patches: - 203-kallsyms_uncompressed.patch - 417-mtd-spi-nand-macronix-disable-continuous-read-for-MX.patch - 487-mtd-spinand-Add-support-for-Etron-EM73D044VCx.patch - 530-jffs2_make_lzma_available.patch - 681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch - 701-netfilter-nf_tables-ignore-EOPNOTSUPP-on-flowtable-d.patch - 710-bridge-add-knob-for-filtering-rx-tx-BPDU-pack.patch - 732-03-net-ethernet-mtk_eth_soc-optimize-dma-ring-address-i.patch - 737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch - 739-03-net-pcs-pcs-mtk-lynxi-add-platform-driver-for-MT7988.patch - 739-05-net-pcs-add-driver-for-MediaTek-USXGMII-PCS.patch - 802-OPP-Provide-old-opp-to-config_clks-on-_set_opp.patch - 812-PCI-sysfs-enforce-single-creation-of-sysfs-entry-for.patch - 850-0023-PCI-aardvark-Make-main-irq_chip-structure-a-static-d.patch Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/21078 Signed-off-by: Robert Marko <robimarko@gmail.com>
36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
From 435afd182e8f5997033da1d69e56094ecb112cad Mon Sep 17 00:00:00 2001
|
|
From: Chukun Pan <amadeus@jmu.edu.cn>
|
|
Date: Thu, 10 Jun 2025 23:10:16 +0800
|
|
Subject: [PATCH] mtd: spi-nand: macronix: disable continuous read for
|
|
MX35LFxGE4AD
|
|
|
|
In on-die ECC mode, enabling continuous read will cause ubi_io_read error.
|
|
[ 7.852000] ubi0 warning: ubi_io_read: error -5 while reading ...
|
|
|
|
So disable it first. Tested on GL.iNet GL-MT3000 with MX35LF2GE4AD flash.
|
|
|
|
Fixes: 11813857864f ("mtd: spi-nand: macronix: Continuous read support")
|
|
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
|
|
---
|
|
drivers/mtd/nand/spi/macronix.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- a/drivers/mtd/nand/spi/macronix.c
|
|
+++ b/drivers/mtd/nand/spi/macronix.c
|
|
@@ -187,7 +187,6 @@ static const struct spinand_info macroni
|
|
SPINAND_HAS_QE_BIT,
|
|
SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
|
|
macronix_ecc_get_status),
|
|
- SPINAND_CONT_READ(macronix_set_cont_read),
|
|
SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,
|
|
macronix_set_read_retry)),
|
|
SPINAND_INFO("MX35LF4GE4AD",
|
|
@@ -200,7 +199,6 @@ static const struct spinand_info macroni
|
|
SPINAND_HAS_QE_BIT,
|
|
SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
|
|
macronix_ecc_get_status),
|
|
- SPINAND_CONT_READ(macronix_set_cont_read),
|
|
SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,
|
|
macronix_set_read_retry)),
|
|
SPINAND_INFO("MX35LF1G24AD",
|