diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-02-22 16:26:55 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-02-22 16:26:55 +0000 |
commit | be18a3849b613d956edd0d3d83b11de26b83e6ab (patch) | |
tree | c1d5aa01384d4a3a76b47fe8d8b07df81efaf83c /target/linux/ar71xx/mikrotik | |
parent | b7539ab109fc2cb9ab8ad7a2fa82f4a856e03df7 (diff) | |
download | mtk-20170518-be18a3849b613d956edd0d3d83b11de26b83e6ab.zip mtk-20170518-be18a3849b613d956edd0d3d83b11de26b83e6ab.tar.gz mtk-20170518-be18a3849b613d956edd0d3d83b11de26b83e6ab.tar.bz2 |
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>
SVN-Revision: 39696
Diffstat (limited to 'target/linux/ar71xx/mikrotik')
-rw-r--r-- | target/linux/ar71xx/mikrotik/config-default | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 0c64d31..a6fbb52 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 |