diff options
author | Shiji Yang <yangshiji66@qq.com> | 2023-05-13 21:00:59 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-05-18 16:46:16 +0200 |
commit | d343a15314195023c7c77884c86df4629f1bfa76 (patch) | |
tree | 0d85672bfe860d7c1f81966ca1a90b094a00a268 /target/linux/ramips/rt3883 | |
parent | c07038da27cefa5a93e433909b9aca594386ddc1 (diff) | |
download | upstream-d343a15314195023c7c77884c86df4629f1bfa76.tar.gz upstream-d343a15314195023c7c77884c86df4629f1bfa76.tar.bz2 upstream-d343a15314195023c7c77884c86df4629f1bfa76.zip |
ramips: enable variable sector size erasure for all subtarget
Make use of minor sector size (4k) on supported flash chips to improve
spi read/write performance.
Tested on ramips/mt7628: Motorola MWR03
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux/ramips/rt3883')
-rw-r--r-- | target/linux/ramips/rt3883/config-5.15 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/rt3883/config-5.15 b/target/linux/ramips/rt3883/config-5.15 index 70d8797306..3d412e8b9d 100644 --- a/target/linux/ramips/rt3883/config-5.15 +++ b/target/linux/ramips/rt3883/config-5.15 @@ -104,7 +104,7 @@ CONFIG_MODULES_USE_ELF_REL=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_PHYSMAP=y CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y +CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y CONFIG_MTD_SPLIT_SEAMA_FW=y CONFIG_MTD_SPLIT_UIMAGE_FW=y CONFIG_NEED_DMA_MAP_STATE=y |