generic: disable 'small sector' erase in m25p80 driver
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 13 Dec 2011 20:41:22 +0000 (20:41 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 13 Dec 2011 20:41:22 +0000 (20:41 +0000)
commit05535c276603ee7af4d8ce66a314b96bf32086d3
tree369281011018133764e0cd8c8c6430b1a1a8b0d9
parentbc53008b155b6a834c2a617de91332b6e113a2c3
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]