From 0d349dc5fe18ae68ee4a5e59373eb788b3f482e1 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 30 Mar 2015 19:57:52 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45161 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/mikrotik/config-default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 89230159c0..1338ed9983 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