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)
commitb55bea2c7b00a8ca9a58640b517ece6352298cf7
tree369281011018133764e0cd8c8c6430b1a1a8b0d9
parent282e929507e2d6db22f0916d936bddf30c60c3bc
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

SVN-Revision: 29521
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]