aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-08-28 16:05:30 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-09-03 02:00:16 +0100
commit557e4cb1693ab1fa0a9574dd78bffd21de6f620e (patch)
treed675ac5f5c76342c77ac0eaa2efbd56e23c6746d /target/linux
parentf7c358c2ad7a50778586e8da8a60dbb1d48ba3f2 (diff)
downloadupstream-557e4cb1693ab1fa0a9574dd78bffd21de6f620e.tar.gz
upstream-557e4cb1693ab1fa0a9574dd78bffd21de6f620e.tar.bz2
upstream-557e4cb1693ab1fa0a9574dd78bffd21de6f620e.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> (cherry picked from commit 51f4c8417819bc0ba6bc1808328478503e179fc4)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mediatek/mt7622/config-5.101
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mediatek/mt7622/config-5.10 b/target/linux/mediatek/mt7622/config-5.10
index 0c71b39cf0..6037f1ba68 100644
--- a/target/linux/mediatek/mt7622/config-5.10
+++ b/target/linux/mediatek/mt7622/config-5.10
@@ -257,6 +257,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