From: Shiji Yang Date: Tue, 30 May 2023 08:50:09 +0000 (+0800) Subject: ath79: enable variable sector size erasure for generic subtarget X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aee2af0f742d6772621dafb872e4ba277b56f8d8;p=openwrt%2Fopenwrt.git ath79: enable variable sector size erasure for generic subtarget Make use of minor sector size (4k) erasure on supported flash chips to improve spi read/write performance. Signed-off-by: Shiji Yang --- diff --git a/target/linux/ath79/generic/config-default b/target/linux/ath79/generic/config-default index d8c674cba7..57cc9447d8 100644 --- a/target/linux/ath79/generic/config-default +++ b/target/linux/ath79/generic/config-default @@ -15,6 +15,7 @@ CONFIG_LEDS_RESET=y CONFIG_MARVELL_PHY=y CONFIG_MICREL_PHY=y CONFIG_MTD_REDBOOT_PARTS=y +CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y CONFIG_MTD_SPLIT_EVA_FW=y CONFIG_NVMEM_SYSFS=y CONFIG_NVMEM_U_BOOT_ENV=y