aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-08-28 16:05:30 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-08-28 16:11:09 +0100
commit51f4c8417819bc0ba6bc1808328478503e179fc4 (patch)
tree1ba2675e9042a7fa6352fd08c80a343aa067eb5f
parent0bc8889e7b4f19d7e33a9be6c3db918fed051501 (diff)
downloadupstream-51f4c8417819bc0ba6bc1808328478503e179fc4.tar.gz
upstream-51f4c8417819bc0ba6bc1808328478503e179fc4.tar.bz2
upstream-51f4c8417819bc0ba6bc1808328478503e179fc4.zip
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@makrotopia.org>
-rw-r--r--target/linux/mediatek/mt7622/config-5.151
1 files changed, 1 insertions, 0 deletions
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