projects
/
openwrt
/
staging
/
adrian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7539ab
)
ar71xx/mikrotik: enable small sector erase in the m25p80 driver
author
Gabor Juhos
<juhosg@openwrt.org>
Sat, 22 Feb 2014 16:26:55 +0000
(16:26 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sat, 22 Feb 2014 16:26:55 +0000
(16:26 +0000)
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>
SVN-Revision: 39696
target/linux/ar71xx/mikrotik/config-default
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/mikrotik/config-default
b/target/linux/ar71xx/mikrotik/config-default
index 0c64d316bfe65deb5b7e72ad137539ce8ae9f101..a6fbb5229a86494da60fb3dc195f1f7925576385 100644
(file)
--- 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