summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2015-03-30 19:57:52 +0000
committerGabor Juhos <juhosg@openwrt.org>2015-03-30 19:57:52 +0000
commit3129f0c6f21e31fde17851a08ee18b2b2286ff57 (patch)
tree3e9a17e0c667a887b2231eeae70e65bd88082638 /target/linux
parent62a8665feaa5fa63767ba749bf3c604bd45f3dde (diff)
downloadmtk-20170518-3129f0c6f21e31fde17851a08ee18b2b2286ff57.zip
mtk-20170518-3129f0c6f21e31fde17851a08ee18b2b2286ff57.tar.gz
mtk-20170518-3129f0c6f21e31fde17851a08ee18b2b2286ff57.tar.bz2
ar71xx/mikrotik: re-enable 4KiB flash sector erase
The setting has been lost during the transition to 3.18. The CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE option is not available anymore, so use CONFIG_MTD_SPI_NOR_USE_4K_SECTORS instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45161
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/mikrotik/config-default2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
index 8923015..1338ed9 100644
--- a/target/linux/ar71xx/mikrotik/config-default
+++ b/target/linux/ar71xx/mikrotik/config-default
@@ -91,7 +91,6 @@ CONFIG_GPIO_74X164=y
CONFIG_GPIO_LATCH=y
# CONFIG_JFFS2_FS is not set
CONFIG_LEDS_RB750=y
-CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE=y
CONFIG_MDIO_BITBANG=y
CONFIG_MDIO_GPIO=y
# CONFIG_MTD_CFI is not set
@@ -107,6 +106,7 @@ CONFIG_MTD_NAND_RB750=y
CONFIG_MTD_NAND_RB91X=y
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_SM_COMMON is not set
+CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
# CONFIG_MTD_TPLINK_PARTS is not set
# CONFIG_OVERLAYFS_FS is not set
CONFIG_RLE_DECOMPRESS=y