From d3c1bbb742932a50bc741b2ebf18777a129a6035 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 22 Feb 2014 16:26:55 +0000 Subject: ar71xx/mikrotik: enable small sector erase in the m25p80 driver The serial flash devices used on the ROuterBOARDs are supporting 4KiB erase blocks. Enable the small sector erase option in the m25p80 driver to avoid superfluous erase/write of adjacent blocks. Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39696 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/mikrotik/config-default | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ar71xx') diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 0c64d316bf..a6fbb5229a 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -86,6 +86,7 @@ CONFIG_ATH79_ROUTERBOOT=y CONFIG_CMDLINE="rootfstype=yaffs noinitrd" # 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 -- cgit v1.2.3