[openwrt/openwrt] uboot-mediatek: snfi: FM35Q1GA is x4-only

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 5 13:06:06 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a6487e393b1b073ba0895e10f00d0fbb2a5e88d9

commit a6487e393b1b073ba0895e10f00d0fbb2a5e88d9
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon Apr 8 19:35:27 2024 +0100

    uboot-mediatek: snfi: FM35Q1GA is x4-only
    
    Dont allow x2 read and cache read operations on FM35Q1GA as they seem
    to be unstable. Also the Linux drivers does not allow x2 ops.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 .../100-02-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/boot/uboot-mediatek/patches/100-02-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch b/package/boot/uboot-mediatek/patches/100-02-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch
index e75251d172..0e63b1e2d3 100644
--- a/package/boot/uboot-mediatek/patches/100-02-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch
+++ b/package/boot/uboot-mediatek/patches/100-02-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch
@@ -1217,7 +1217,7 @@ Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
 +
 +	SNAND_INFO("FM35Q1GA", SNAND_ID(SNAND_ID_DYMMY, 0xe5, 0x71),
 +		   SNAND_MEMORG_1G_2K_64,
-+		   &snand_cap_read_from_cache_x4,
++		   &snand_cap_read_from_cache_x4_only,
 +		   &snand_cap_program_load_x4),
 +
 +	SNAND_INFO("PN26G01A", SNAND_ID(SNAND_ID_DYMMY, 0xa1, 0xe1),




More information about the lede-commits mailing list