generic: disable 'small sector' erase in m25p80 driver
authorGabor Juhos <juhosg@openwrt.org>
Tue, 13 Dec 2011 20:41:22 +0000 (20:41 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 13 Dec 2011 20:41:22 +0000 (20:41 +0000)
commita4e54ee1c8acd16814e9d0c23f1533558ffbc7d8
tree369281011018133764e0cd8c8c6430b1a1a8b0d9
parent1529c7d824242e998964c6c1789251736ef134d9
generic: disable 'small sector' erase in m25p80 driver

This fixes the issues with the jffs2 images on various boards. Using
JFFS2 on devices with 4KiB erase sectors is not safe:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036591.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29521 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/config-2.6.39
target/linux/generic/config-3.0
target/linux/generic/config-3.1
target/linux/generic/patches-2.6.39/475-mtd-m25p80-allow-to-disable-small-sector-erase.patch [new file with mode: 0644]
target/linux/generic/patches-3.0/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch [new file with mode: 0644]
target/linux/generic/patches-3.1/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch [new file with mode: 0644]