openwrt/target/linux/generic
Felix Fietkau c08293893a kernel: add support for limiting 4K erase sector support based on flash chip size
Some targets need 4K sectors for small flash chips (e.g. some
routerboards, where the entire chip is just one "erase block"), whereas
on other devices 4K sectors lead to horrible flash erase/write
performance.

Set the default limit in the generic kernel configuration to 4 MiB to
ensure that all new platforms don't use 4K sectors for bigger flash
chips. On all existing targets use 16 MiB for now to avoid regressions.
They will be changed individually in follow-up commits.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-11-06 16:38:25 +01:00
..
backport-4.9 kernel: bump 4.9 to 4.9.58 2017-10-23 17:23:34 +03:00
files kernel: owl-loader: fix compile warning 2017-10-01 16:40:37 +02:00
hack-4.9 kernel: bump 4.9 to 4.9.58 2017-10-23 17:23:34 +03:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-3.18 pending-3.18: 610-netfilter_match_bypass_default_check: fix 32bit compat layer 2017-10-24 22:15:37 +02:00
pending-4.4 pending-4.4: 610-netfilter_match_bypass_default_check: fix 32bit compat layer 2017-10-24 22:15:47 +02:00
pending-4.9 kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
config-3.18 kernel: add missing symbols 2017-07-07 07:44:51 +02:00
config-4.4 kernel: move Lantiq PEF7061/7071/7072 phy driver to generic 2017-06-24 22:36:38 +02:00
config-4.9 kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00