aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-02-22 16:26:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-02-22 16:26:55 +0000
commit1a1595984e5d6b3b6ce755a593dbc8e53f524da8 (patch)
tree9f663400c23c4a58b49e1d2f218080a9fada78d9 /target
parent10a4d61736835d45cdde55ebd93357caf97c6941 (diff)
downloadmaster-187ad058-1a1595984e5d6b3b6ce755a593dbc8e53f524da8.tar.gz
master-187ad058-1a1595984e5d6b3b6ce755a593dbc8e53f524da8.tar.bz2
master-187ad058-1a1595984e5d6b3b6ce755a593dbc8e53f524da8.zip
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 <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39696 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/mikrotik/config-default1
1 files changed, 1 insertions, 0 deletions
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