[openwrt/openwrt] mediatek: mt7622: use variable sector size for spi-nor

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 28 08:13:41 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/51f4c8417819bc0ba6bc1808328478503e179fc4

commit 51f4c8417819bc0ba6bc1808328478503e179fc4
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Aug 28 16:05:30 2022 +0100

    mediatek: mt7622: use variable sector size for spi-nor
    
    Make use of minor sector size (4k) on supported SPI-NOR flash chips.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/mt7622/config-5.15 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mediatek/mt7622/config-5.15 b/target/linux/mediatek/mt7622/config-5.15
index b08b01ec40..978994abbc 100644
--- a/target/linux/mediatek/mt7622/config-5.15
+++ b/target/linux/mediatek/mt7622/config-5.15
@@ -255,6 +255,7 @@ CONFIG_MTD_PARSER_TRX=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_SPI_NAND=y
 CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y
 CONFIG_MTD_SPLIT_FIRMWARE=y
 CONFIG_MTD_SPLIT_FIT_FW=y
 CONFIG_MTD_UBI=y




More information about the lede-commits mailing list