From: Daniel Golle Date: Mon, 8 Apr 2024 18:35:27 +0000 (+0100) Subject: uboot-mediatek: snfi: FM35Q1GA is x4-only X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a6487e393b1b073ba0895e10f00d0fbb2a5e88d9;p=openwrt%2Fstaging%2Fthess.git 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 --- 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 + + 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),